Class LogMemorisingInterceptor
- java.lang.Object
-
- com.atlassian.bamboo.build.logger.interceptors.LogMemorisingInterceptor
-
- All Implemented Interfaces:
LogInterceptor
,Serializable
public class LogMemorisingInterceptor extends Object implements LogInterceptor
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description LogMemorisingInterceptor(int linesToRemember)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull Iterable<LogEntry>
getLogEntries()
void
intercept(@NotNull LogEntry logEntry)
Method invoked whenever a new log entry is loggedvoid
interceptError(@NotNull LogEntry logEntry)
Method invoked whenever a new error log entry is logged
-
-
-
Method Detail
-
intercept
public void intercept(@NotNull @NotNull LogEntry logEntry)
Description copied from interface:LogInterceptor
Method invoked whenever a new log entry is logged- Specified by:
intercept
in interfaceLogInterceptor
-
interceptError
public void interceptError(@NotNull @NotNull LogEntry logEntry)
Description copied from interface:LogInterceptor
Method invoked whenever a new error log entry is logged- Specified by:
interceptError
in interfaceLogInterceptor
-
-