Package net.simplace.core.logging
Enum Class Logger.LOGLEVEL
- All Implemented Interfaces:
Serializable
,Comparable<Logger.LOGLEVEL>
,Constable
- Enclosing class:
- Logger
- Author:
- Andreas Enders
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionDebug informationError level - output with exception stack for exceptions that can NOT be automatically solvedFatal level - System has to stop directly - always loggedInfo level - giving state information of the softwareDebug information for special purposes - output in log file as DEBUGWarn level - warn for exceptions, that are automatically solved -
Method Summary
Modifier and TypeMethodDescriptionstatic Logger.LOGLEVEL
Returns the enum constant of this class with the specified name.static Logger.LOGLEVEL[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
TRACE
Debug information for special purposes - output in log file as DEBUG -
DEBUG
Debug information -
INFO
Info level - giving state information of the software -
WARN
Warn level - warn for exceptions, that are automatically solved -
ERROR
Error level - output with exception stack for exceptions that can NOT be automatically solved -
FATAL
Fatal level - System has to stop directly - always logged
-
-
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
-