public final class LevelTranslator extends Object
Modifier and Type | Field and Description |
---|---|
static Level |
CONFIG
Custom Log4j level corresponding to the
Level.CONFIG logging level. |
static Level |
FINEST
Custom Log4j level corresponding to the
Level.FINEST logging level. |
Modifier and Type | Method and Description |
---|---|
static Level |
toJavaLevel(Level level)
Converts a Log4j logging Level to a JDK logging Level.
|
static Level |
toLevel(Level level)
Converts a JDK logging Level to a Log4j logging Level.
|
public static final Level FINEST
Level.FINEST
logging level. This maps to a
level more specific than Level.TRACE
.public static final Level CONFIG
Level.CONFIG
logging level. This maps to a
level in between Level.INFO
and Level.DEBUG
.Copyright © 1999-2019 The Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.