com.atlassian.bamboo.build.logger.interceptors
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LogMemorisingInterceptor
public LogMemorisingInterceptor(int linesToRemember)
intercept
public void intercept(@NotNull
LogEntry logEntry)
- Description copied from interface:
LogInterceptor
- Method invoked whenever a new log entry is logged
- Specified by:
intercept
in interface LogInterceptor
interceptError
public void interceptError(@NotNull
LogEntry logEntry)
- Description copied from interface:
LogInterceptor
- Method invoked whenever a new error log entry is logged
- Specified by:
interceptError
in interface LogInterceptor
getLogEntries
@NotNull
public Iterable<LogEntry> getLogEntries()
Copyright © 2015 Atlassian Software Systems Pty Ltd. All rights reserved.