public enum LogLevel extends java.lang.Enum<LogLevel>
Enumeration that represents the available logging levels.
Each log message generated by StreamLink has an associated LogLevel that indicates its importance, in the following order (highest to lowest).
Config | (highest importance) |
Critical | |
Error | |
Warning | |
Notify | |
Info | |
Fine | |
Finer | |
Finest | (lowest importance) |
Enum Constant and Description |
---|
CONFIG
Used for messages about StreamLink's configuration.
|
CRITICAL
Used for messages indicating a serious failure.
|
ERROR
Used for messages which indicate a problem.
|
FINE
Used for tracing messages.
|
FINER
Used for fairly detailed tracing messages.
|
FINEST
Used for the most finely detailed tracing messages.
|
INFO
Used for information messages.
|
NOTIFY
Used for messages of more importance than INFO but may not indicate problems.
|
WARN
Used for messages which indicate a potential problem.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getPaddedName() |
int |
getValue() |
java.lang.String |
toString() |
static LogLevel |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static LogLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LogLevel CONFIG
Used for messages about StreamLink's configuration.
public static final LogLevel CRITICAL
Used for messages indicating a serious failure.
public static final LogLevel ERROR
Used for messages which indicate a problem.
public static final LogLevel WARN
Used for messages which indicate a potential problem.
public static final LogLevel NOTIFY
Used for messages of more importance than INFO but may not indicate problems.
public static final LogLevel INFO
Used for information messages.
public static final LogLevel FINE
Used for tracing messages.
public static final LogLevel FINER
Used for fairly detailed tracing messages.
public static final LogLevel FINEST
Used for the most finely detailed tracing messages.
public static LogLevel[] values()
for (LogLevel c : LogLevel.values()) System.out.println(c);
public static LogLevel valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic int getValue()
public java.lang.String getPaddedName()
public java.lang.String toString()
toString
in class java.lang.Enum<LogLevel>
Please send bug reports and comments to Caplin support