public class JBossLevelMapping extends Object
Modifier and Type | Field and Description |
---|---|
static Level |
DEFAULT_LEVEL |
static Level |
DEFAULT_LOG4J_LEVEL |
Modifier and Type | Method and Description |
---|---|
static Level |
getLevelFor(Priority level)
Finds the
jboss-log-manager level for the log4j priority. |
static Level |
getPriorityFor(int level)
Finds the
log4j level for the level . |
static Level |
getPriorityFor(Level level)
Finds the
log4j level for the level . |
public static final Level DEFAULT_LEVEL
public static final Level DEFAULT_LOG4J_LEVEL
public static Level getPriorityFor(Level level)
log4j level
for the level
.level
- the JUL logging level.null
if it cold not be found.public static Level getPriorityFor(int level)
log4j level
for the level
.level
- the JUL logging level.null
if it cold not be found.public static Level getLevelFor(Priority level)
jboss-log-manager level
for the log4j priority.level
- the log4j level/priority.Level.DEBUG
.Copyright © 2012 JBoss by Red Hat. All Rights Reserved.