public class DefaultLogContext extends Object implements LogContext
| Constructor and Description |
|---|
DefaultLogContext() |
| Modifier and Type | Method and Description |
|---|---|
void |
pop()
Cleanup diagnostic data from logger context.
|
void |
push(String diagnosticContext)
Push diagnostic context data on logger related to current thread.
|
public void push(String diagnosticContext)
LogContextLogContext.pop() is called on current thread.push in interface LogContextdiagnosticContext - diagnostic context data.public void pop()
LogContextLogContext.push(String) with this pop; if this
method is not called pushed diagnostic data remains on thread till thread terminates.pop in interface LogContextCopyright © 2018. All rights reserved.