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) |
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() |
public boolean isEnabled(String context, int level)
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
- Copyright © 2020. All rights reserved.