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)
Logger
public static org.jboss.logging.Logger.Level convert2JbossLevel(int level)
MessageLevel
to Logger.Level
level
- public static int convert2MessageLevel(org.jboss.logging.Logger.Level level)
Logger.Level
to MessageLevel
level
- public void shutdown()
Logger
Copyright © 2019. All rights reserved.