Modifier and Type | Field and Description |
---|---|
static com.google.common.collect.ImmutableSet<Level> |
ConventionalLevelHierarchy.DEBUG_LEVELS
Levels that would be considered enabled in Log4J/Logback if a Logger was set to DEBUG.
|
static com.google.common.collect.ImmutableSet<Level> |
ConventionalLevelHierarchy.ERROR_LEVELS
Levels that would be considered enabled in Log4J/Logback if a Logger was set to ERROR.
|
static com.google.common.collect.ImmutableSet<Level> |
ConventionalLevelHierarchy.INFO_LEVELS
Levels that would be considered enabled in Log4J/Logback if a Logger was set to INFO.
|
static com.google.common.collect.ImmutableSet<Level> |
ConventionalLevelHierarchy.OFF_LEVELS
Levels that would be considered enabled in Log4J/Logback if a Logger was set to OFF.
|
static com.google.common.collect.ImmutableSet<Level> |
ConventionalLevelHierarchy.TRACE_LEVELS
Levels that would be considered enabled in Log4J/Logback if a Logger was set to TRACE.
|
static com.google.common.collect.ImmutableSet<Level> |
ConventionalLevelHierarchy.WARN_LEVELS
Levels that would be considered enabled in Log4J/Logback if a Logger was set to WARN.
|
Modifier and Type | Method and Description |
---|---|
static Level |
Level.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Level[] |
Level.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static com.google.common.collect.ImmutableSet<Level> |
Level.enablableValueSet() |
static com.google.common.collect.ImmutableSet<Level> |
Level.valueSet() |
Modifier and Type | Method and Description |
---|---|
boolean |
Logger.isEnabled(Level level)
Is the logger instance enabled for a given level?
Delegates to the appropriate method for the level - for instance, if the provided level is
DEBUG , this
method will delegate to Logger.isDebugEnabled() on the decorated logger. |
boolean |
Logger.isEnabled(Level level,
org.slf4j.Marker marker)
Similar to
Logger.isTraceEnabled() method except that the
marker data is also taken into account. |
void |
Logger.log(Level level,
org.slf4j.Marker marker,
String msg)
Delegates to the appropriate logging method for the level.
|
void |
Logger.log(Level level,
org.slf4j.Marker marker,
String format,
Object... arguments)
Delegates to the appropriate logging method for the level.
|
void |
Logger.log(Level level,
org.slf4j.Marker marker,
String format,
Object arg)
Delegates to the appropriate logging method for the level.
|
void |
Logger.log(Level level,
org.slf4j.Marker marker,
String format,
Object arg1,
Object arg2)
Delegates to the appropriate logging method for the level.
|
void |
Logger.log(Level level,
org.slf4j.Marker marker,
String msg,
Throwable throwable)
Delegates to the appropriate logging method for the level.
|
void |
Logger.log(Level level,
String msg)
Delegates to the appropriate logging method for the level.
|
void |
Logger.log(Level level,
String format,
Object... arguments)
Delegates to the appropriate logging method for the level.
|
void |
Logger.log(Level level,
String format,
Object arg)
Delegates to the appropriate logging method for the level.
|
void |
Logger.log(Level level,
String format,
Object arg1,
Object arg2)
Delegates to the appropriate logging method for the level.
|
void |
Logger.log(Level level,
String msg,
Throwable throwable)
Delegates to the appropriate logging method for the level.
|
Copyright © 2013. All Rights Reserved.