Enum LoggingOutputStream.Priority
- java.lang.Object
-
- java.lang.Enum<LoggingOutputStream.Priority>
-
- com.openindex.openestate.tool.utils.LoggingOutputStream.Priority
-
- All Implemented Interfaces:
Serializable
,Comparable<LoggingOutputStream.Priority>
- Enclosing class:
- LoggingOutputStream
public static enum LoggingOutputStream.Priority extends Enum<LoggingOutputStream.Priority>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
log(org.slf4j.Logger logger, String msg)
static LoggingOutputStream.Priority
valueOf(String name)
Returns the enum constant of this type with the specified name.static LoggingOutputStream.Priority[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TRACE
public static final LoggingOutputStream.Priority TRACE
-
DEBUG
public static final LoggingOutputStream.Priority DEBUG
-
INFO
public static final LoggingOutputStream.Priority INFO
-
WARNING
public static final LoggingOutputStream.Priority WARNING
-
ERROR
public static final LoggingOutputStream.Priority ERROR
-
-
Method Detail
-
values
public static LoggingOutputStream.Priority[] 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 (LoggingOutputStream.Priority c : LoggingOutputStream.Priority.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static LoggingOutputStream.Priority 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 nameNullPointerException
- if the argument is null
-
log
public void log(org.slf4j.Logger logger, String msg)
-
-