Interface FileWritingBuildLogger
-
- All Superinterfaces:
BuildLogger
,BuildLoggerWithoutLogAccess
- All Known Implementing Classes:
BuildLoggerImpl
@Internal public interface FileWritingBuildLogger extends BuildLogger
Build logger that writes to a file.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @NotNull String
addRemoteBuildLogEntry(@NotNull LogEntry entry, boolean needToPersistOnTarget, boolean addedAfterLogSpoolClosed)
@NotNull String
addRemoteErrorLogEntry(@NotNull LogEntry entry, boolean needToPersistOnTarget, boolean addedAfterLogSpoolClosed)
void
handleRemoteLogFile(@NotNull File logFile, @NotNull File remoteLogFile)
Replace underlying log file with the remote log.-
Methods inherited from interface com.atlassian.bamboo.build.logger.BuildLogger
getLastNLogEntries, getLogEntryCount
-
Methods inherited from interface com.atlassian.bamboo.build.logger.BuildLoggerWithoutLogAccess
addBuildLogEntry, addBuildLogEntry, addErrorLogEntry, addErrorLogEntry, addErrorLogEntry, close, getInterceptorStack, getMutatorStack, getTimeOfLastLog, isPersistent, setTimeOfLastLog, stopStreamingBuildLogs, transfersLogsAsArtifact
-
-
-
-
Method Detail
-
addRemoteBuildLogEntry
@NotNull @NotNull String addRemoteBuildLogEntry(@NotNull @NotNull LogEntry entry, boolean needToPersistOnTarget, boolean addedAfterLogSpoolClosed)
-
addRemoteErrorLogEntry
@NotNull @NotNull String addRemoteErrorLogEntry(@NotNull @NotNull LogEntry entry, boolean needToPersistOnTarget, boolean addedAfterLogSpoolClosed)
-
handleRemoteLogFile
void handleRemoteLogFile(@NotNull @NotNull File logFile, @NotNull @NotNull File remoteLogFile) throws IOException
Replace underlying log file with the remote log. If not possible, then append. Stop accepting live logs from remote agent.- Throws:
IOException
-
-