public class LogMemorisingInterceptor extends Object implements LogInterceptor
Constructor and Description |
---|
LogMemorisingInterceptor(int linesToRemember) |
Modifier and Type | Method and Description |
---|---|
Iterable<LogEntry> |
getLogEntries() |
void |
intercept(LogEntry logEntry)
Method invoked whenever a new log entry is logged
|
void |
interceptError(LogEntry logEntry)
Method invoked whenever a new error log entry is logged
|
public void intercept(@NotNull LogEntry logEntry)
LogInterceptor
intercept
in interface LogInterceptor
public void interceptError(@NotNull LogEntry logEntry)
LogInterceptor
interceptError
in interface LogInterceptor
Copyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.