public class RemoteBuildLogger extends AbstractBuildLogger
expiryTicker
Constructor and Description |
---|
RemoteBuildLogger(LoggerId<? extends Key> loggerId,
BambooAgentMessageSender sender) |
Modifier and Type | Method and Description |
---|---|
String |
addBuildLogEntry(LogEntry logEntry)
Add a new build log entry.
|
String |
addErrorLogEntry(LogEntry logEntry)
Add a new build error log entry.
|
void |
clearBuildLog()
Reset the build log, ready for the next build
|
void |
onAddLogEntry(LogEntry logEntry) |
void |
stopStreamingBuildLogs()
Stop streaming any logs to the build logs file
|
addBuildLogEntry, addBuildLogHeader, addErrorLogEntry, addErrorLogEntry, addErrorLogEntryInternal, addLogEntry, close, getBuildLog, getErrorLog, getInterceptorStack, getLastNLogEntries, getMutatorStack, getStringErrorLogs, getTimeOfLastLog, interceptAndMutate, interceptAndMutateError
public RemoteBuildLogger(LoggerId<? extends Key> loggerId, BambooAgentMessageSender sender)
@NotNull public String addBuildLogEntry(@NotNull LogEntry logEntry)
BuildLogger
addBuildLogEntry
in interface BuildLogger
addBuildLogEntry
in class AbstractBuildLogger
logEntry
- The data being loggedLogEntry.getUnstyledLog()
.@NotNull public String addErrorLogEntry(@NotNull LogEntry logEntry)
BuildLogger
addErrorLogEntry
in interface BuildLogger
addErrorLogEntry
in class AbstractBuildLogger
logEntry
- The data being loggedLogEntry.getUnstyledLog()
.public void onAddLogEntry(@NotNull LogEntry logEntry)
onAddLogEntry
in class AbstractBuildLogger
public void stopStreamingBuildLogs()
BuildLogger
stopStreamingBuildLogs
in interface BuildLogger
stopStreamingBuildLogs
in class AbstractBuildLogger
public void clearBuildLog()
BuildLogger
clearBuildLog
in interface BuildLogger
clearBuildLog
in class AbstractBuildLogger
Copyright © 2016 Atlassian Software Systems Pty Ltd. All rights reserved.