public interface Logger
Modifier and Type | Method and Description |
---|---|
boolean |
isEnabled(String context,
int msgLevel)
Is the logging for the given context at the specified message level enabled.
|
void |
log(int level,
String context,
Object... msg) |
void |
log(int level,
String context,
Throwable t,
Object... msg) |
void |
putMdc(String key,
String val) |
void |
removeMdc(String key) |
void |
shutdown()
Shut down this listener, requesting it clean up and release any resources it
may have acquired during its use.
|
boolean isEnabled(String context, int msgLevel)
context
- msgLevel
- void shutdown()
void removeMdc(String key)
Copyright © 2019. All rights reserved.