Interface BuildLogger

All Superinterfaces:
BuildLoggerWithoutLogAccess
All Known Subinterfaces:
FileWritingBuildLogger
All Known Implementing Classes:
AbstractBuildLogger, BuildLoggerImpl, DisconnectedBuildLogger, NullBuildLogger, RemoteBuildLogger, SimpleBuildLogger

@PublicApi public interface BuildLogger extends BuildLoggerWithoutLogAccess
This interface represents a logger for a given build
  • Method Details

    • getLastNLogEntries

      @NotNull @NotNull List<LogEntry> getLastNLogEntries(int n)
      Provide the latest build details (last n lines of logs). This is not persisted.
      Returns:
      The list of LogEntrys.
    • getLogEntryCount

      int getLogEntryCount()
      Total number of log entries.
      Since:
      7.0