@Internal public class LogMutatorStack extends Object implements LogMutator
| Constructor and Description |
|---|
LogMutatorStack() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(LogMutator interceptor)
Adds a new interceptor to stack
|
void |
clear()
Removes all interceptors from stack
|
LogEntry |
mutate(LogEntry logEntry)
Method invoked whenever a new log entry is logged
|
LogEntry |
mutateError(LogEntry logEntry)
Method invoked whenever a new error log entry is logged
|
void |
remove(LogMutator interceptor)
Removes an interceptor from stack
|
public void clear()
public void add(@NotNull
LogMutator interceptor)
interceptor - the interceptor to addpublic void remove(@Nullable
LogMutator interceptor)
interceptor - the interceptor to removepublic LogEntry mutate(@NotNull LogEntry logEntry)
LogMutatormutate in interface LogMutatorpublic LogEntry mutateError(@NotNull LogEntry logEntry)
LogMutatormutateError in interface LogMutatorCopyright © 2016 Atlassian Software Systems Pty Ltd. All rights reserved.