- All Implemented Interfaces:
Serializable,Comparable<LogLevel>,Constable
Defines the log-levels with implicit mapping
- Author:
- Oliver Wolff
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionDebug Level, maps toLevel.FINE.Error Level, maps toLevel.SEVERE.Info Level, maps toLevel.INFO.Off Level, maps toLevel.OFFTrace Level, maps toLevel.FINER.Warn Level, maps toLevel.WARNING. -
Method Summary
-
Enum Constant Details
-
TRACE
Trace Level, maps toLevel.FINER.Attention: This is a derivation to http://www.slf4j.org/apidocs/org/slf4j/bridge/SLF4JBridgeHandler.html. But in fact this works...
-
DEBUG
Debug Level, maps toLevel.FINE. -
INFO
Info Level, maps toLevel.INFO. -
WARN
Warn Level, maps toLevel.WARNING. -
ERROR
Error Level, maps toLevel.SEVERE. -
OFF
Off Level, maps toLevel.OFF
-
-
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
-
from
- Parameters:
juliLevel-- Returns:
- CUI log level
-