|
log4j-jboss-logmanager 1.0.2.Final-redhat-1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.log4j.JBossLevelMapping
public class JBossLevelMapping
A mapping for jboss-log-manager levels
,
JUL levels
and log4j levels
.
Field Summary | |
---|---|
static org.jboss.logmanager.Level |
DEFAULT_LEVEL
|
static org.apache.log4j.Level |
DEFAULT_LOG4J_LEVEL
|
Method Summary | |
---|---|
static Level |
getLevelFor(org.apache.log4j.Priority level)
Finds the jboss-log-manager level for the log4j priority. |
static org.apache.log4j.Level |
getPriorityFor(int level)
Finds the log4j level for the level . |
static org.apache.log4j.Level |
getPriorityFor(Level level)
Finds the log4j level for the level . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final org.jboss.logmanager.Level DEFAULT_LEVEL
public static final org.apache.log4j.Level DEFAULT_LOG4J_LEVEL
Method Detail |
---|
public static org.apache.log4j.Level getPriorityFor(Level level)
log4j level
for the level
.
level
- the JUL logging level.
null
if it cold not be found.public static org.apache.log4j.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(org.apache.log4j.Priority level)
jboss-log-manager level
for the log4j priority.
level
- the log4j level/priority.
Level.DEBUG
.
|
log4j-jboss-logmanager 1.0.2.Final-redhat-1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |