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