public enum Slf4jExceptionHandler extends Enum<Slf4jExceptionHandler> implements ExceptionHandler
| Modifier and Type | Method and Description |
|---|---|
static Slf4jExceptionHandler |
valueOf(LogLevel logLevel) |
static Slf4jExceptionHandler |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Slf4jExceptionHandler[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfisEnabled, on, on, onpublic static final Slf4jExceptionHandler FATAL
public static final Slf4jExceptionHandler WARN
public static final Slf4jExceptionHandler PERF
public static final Slf4jExceptionHandler DEBUG
public static Slf4jExceptionHandler[] values()
for (Slf4jExceptionHandler c : Slf4jExceptionHandler.values()) System.out.println(c);
public static Slf4jExceptionHandler 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 nullpublic static Slf4jExceptionHandler valueOf(LogLevel logLevel)
Copyright © 2019. All rights reserved.