public class LogInterceptorStack extends Object implements LogInterceptor
| Constructor and Description |
|---|
LogInterceptorStack() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(LogInterceptor interceptor)
Adds a new interceptor to stack
|
void |
clear()
Removes all interceptors from stack
|
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
|
void |
remove(LogInterceptor interceptor)
Removes an interceptor from stack
|
public void clear()
public void add(@NotNull
LogInterceptor interceptor)
interceptor - the interceptor to addpublic void remove(@Nullable
LogInterceptor interceptor)
interceptor - the interceptor to removepublic void intercept(@NotNull
LogEntry logEntry)
LogInterceptorintercept in interface LogInterceptorpublic void interceptError(@NotNull
LogEntry logEntry)
LogInterceptorinterceptError in interface LogInterceptorCopyright © 2016 Atlassian Software Systems Pty Ltd. All rights reserved.