public static enum LoggingErrorHandlerFactory.Level extends Enum<LoggingErrorHandlerFactory.Level>
log(org.slf4j.Logger, String, Throwable)
to log a message at the given level to the slf4j logger.Enum Constant and Description |
---|
DEBUG |
ERROR |
FATAL |
INFO |
OFF |
TRACE |
WARN |
Modifier and Type | Method and Description |
---|---|
abstract void |
log(org.slf4j.Logger logger,
String message,
Throwable t) |
static LoggingErrorHandlerFactory.Level |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LoggingErrorHandlerFactory.Level[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LoggingErrorHandlerFactory.Level OFF
public static final LoggingErrorHandlerFactory.Level FATAL
public static final LoggingErrorHandlerFactory.Level ERROR
public static final LoggingErrorHandlerFactory.Level WARN
public static final LoggingErrorHandlerFactory.Level INFO
public static final LoggingErrorHandlerFactory.Level DEBUG
public static final LoggingErrorHandlerFactory.Level TRACE
public static LoggingErrorHandlerFactory.Level[] values()
for (LoggingErrorHandlerFactory.Level c : LoggingErrorHandlerFactory.Level.values()) System.out.println(c);
public static LoggingErrorHandlerFactory.Level valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null