net.ttddyy.dsproxy.listener
Enum SLF4JLogLevel
java.lang.Object
java.lang.Enum<SLF4JLogLevel>
net.ttddyy.dsproxy.listener.SLF4JLogLevel
- All Implemented Interfaces:
- Serializable, Comparable<SLF4JLogLevel>
public enum SLF4JLogLevel
- extends Enum<SLF4JLogLevel>
SLF4J log level representation.
- Author:
- Tadaya Tsuyukubo
DEBUG
public static final SLF4JLogLevel DEBUG
ERROR
public static final SLF4JLogLevel ERROR
INFO
public static final SLF4JLogLevel INFO
TRACE
public static final SLF4JLogLevel TRACE
WARN
public static final SLF4JLogLevel WARN
values
public static SLF4JLogLevel[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (SLF4JLogLevel c : SLF4JLogLevel.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static SLF4JLogLevel valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name - the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
nullSafeValueOf
public static SLF4JLogLevel nullSafeValueOf(String name)
Copyright © 2012. All Rights Reserved.