|
JBoss Logging Log4j 2.2.0.CR1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.log4j.Priority
org.apache.log4j.Level
org.jboss.logging.log4j.JDKLevel
public final class JDKLevel
Log4j equivalents for JDK logging levels. For configuration file usage.
Field Summary | |
---|---|
static org.apache.log4j.Level |
CONFIG
A mapping of the JDK logging CONFIG level; numerically
falls between log4j's INFO and DEBUG levels. |
static org.apache.log4j.Level |
FINE
A mapping of the JDK logging FINE level; numerically
equivalent to log4j's DEBUG level. |
static org.apache.log4j.Level |
FINER
A mapping of the JDK logging FINER level; numerically
falls between log4j's DEBUG and TRACE levels. |
static org.apache.log4j.Level |
FINEST
A mapping of the JDK logging FINEST level; numerically
equivalent to log4j's TRACE level. |
static org.apache.log4j.Level |
INFO
A mapping of the JDK logging INFO level; numerically
equivalent to log4j's INFO level. |
static org.apache.log4j.Level |
SEVERE
A mapping of the JDK logging SEVERE level; numerically
equivalent to log4j's ERROR level. |
static org.apache.log4j.Level |
WARNING
A mapping of the JDK logging WARNING level; numerically
equivalent to log4j's WARN level. |
Fields inherited from class org.apache.log4j.Level |
---|
ALL, DEBUG, ERROR, FATAL, OFF, TRACE, TRACE_INT, WARN |
Fields inherited from class org.apache.log4j.Priority |
---|
ALL_INT, DEBUG_INT, ERROR_INT, FATAL_INT, INFO_INT, OFF_INT, WARN_INT |
Constructor Summary | |
---|---|
protected |
JDKLevel(int level,
String levelStr,
int syslogEquivalent)
Instantiate a Level object. |
Method Summary | |
---|---|
static org.apache.log4j.Level |
toLevel(String name)
Get the level for the given name. |
Methods inherited from class org.apache.log4j.Level |
---|
toLevel, toLevel, toLevel |
Methods inherited from class org.apache.log4j.Priority |
---|
equals, getAllPossiblePriorities, getSyslogEquivalent, isGreaterOrEqual, toInt, toPriority, toPriority, toPriority, toPriority, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final org.apache.log4j.Level SEVERE
SEVERE
level; numerically
equivalent to log4j's ERROR
level.
public static final org.apache.log4j.Level WARNING
WARNING
level; numerically
equivalent to log4j's WARN
level.
public static final org.apache.log4j.Level INFO
INFO
level; numerically
equivalent to log4j's INFO
level.
public static final org.apache.log4j.Level CONFIG
CONFIG
level; numerically
falls between log4j's INFO
and DEBUG
levels.
public static final org.apache.log4j.Level FINE
FINE
level; numerically
equivalent to log4j's DEBUG
level.
public static final org.apache.log4j.Level FINER
FINER
level; numerically
falls between log4j's DEBUG
and TRACE
levels.
public static final org.apache.log4j.Level FINEST
FINEST
level; numerically
equivalent to log4j's TRACE
level.
Constructor Detail |
---|
protected JDKLevel(int level, String levelStr, int syslogEquivalent)
Method Detail |
---|
public static org.apache.log4j.Level toLevel(String name)
toLevel(String)
on the superclass.
name
- the level name
|
JBoss Logging Log4j 2.2.0.CR1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |