public final class JDKLevel
extends org.apache.log4j.Level
Modifier and Type | Field and Description |
---|---|
static org.apache.log4j.Level |
CONFIG
|
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
|
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. |
Modifier | Constructor and Description |
---|---|
protected |
JDKLevel(int level,
String levelStr,
int syslogEquivalent)
Instantiate a Level object.
|
Modifier and Type | Method and Description |
---|---|
static org.apache.log4j.Level |
toLevel(String name)
Get the level for the given name.
|
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
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
public static final org.apache.log4j.Level FINEST
FINEST
level; numerically
equivalent to log4j's TRACE
level.protected JDKLevel(int level, String levelStr, int syslogEquivalent)
public static org.apache.log4j.Level toLevel(String name)
toLevel(String)
on the superclass.name
- the level nameCopyright © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.