| Constructor and Description |
|---|
JBossLogger() |
| Modifier and Type | Method and Description |
|---|---|
static org.jboss.logging.Logger.Level |
convert2JbossLevel(int level)
Convert
MessageLevel to Logger.Level |
static int |
convert2MessageLevel(org.jboss.logging.Logger.Level level)
Convert
Logger.Level to MessageLevel |
boolean |
isEnabled(String context,
int level)
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.
|
public boolean isEnabled(String context, int level)
Loggerpublic static org.jboss.logging.Logger.Level convert2JbossLevel(int level)
MessageLevel to Logger.Levellevel - public static int convert2MessageLevel(org.jboss.logging.Logger.Level level)
Logger.Level to MessageLevellevel - public void shutdown()
LoggerCopyright © 2019. All rights reserved.