Package com.caplin.streamlink
Enum Class LogLevel
- All Implemented Interfaces:
Serializable
,Comparable<LogLevel>
,Constable
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) |
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionUsed for messages about StreamLink's configuration.Used for messages indicating a serious failure.Used for messages which indicate a problem.Used for tracing messages.Used for fairly detailed tracing messages.Used for the most finely detailed tracing messages.Used for information messages.Used for messages of more importance than INFO but may not indicate problems.Used for messages which indicate a potential problem. -
Method Summary
-
Enum Constant Details
-
CONFIG
Used for messages about StreamLink's configuration.
-
CRITICAL
Used for messages indicating a serious failure.
-
ERROR
Used for messages which indicate a problem.
-
WARN
Used for messages which indicate a potential problem.
-
NOTIFY
Used for messages of more importance than INFO but may not indicate problems.
-
INFO
Used for information messages.
-
FINE
Used for tracing messages.
-
FINER
Used for fairly detailed tracing messages.
-
FINEST
Used for the most finely detailed tracing messages.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-
getValue
public int getValue() -
getPaddedName
-
toString
-