- All Implemented Interfaces:
Serializable
,Comparable<LoggingLevel>
,Constable
An enumeration of the levels of logging our system provides.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionRepresents an error that occurs in a separate thread, so that we are not able to catch it bubbling upInformation marked audit is for business-related stuff.Information useful for debugging.Information marked as trace is pretty much entered for the same reason as DEBUG - i.e. -
Method Summary
Modifier and TypeMethodDescriptionstatic LoggingLevel
Returns the enum constant of this class with the specified name.static LoggingLevel[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
DEBUG
Information useful for debugging. -
ASYNC_ERROR
Represents an error that occurs in a separate thread, so that we are not able to catch it bubbling up -
TRACE
Information marked as trace is pretty much entered for the same reason as DEBUG - i.e. so we can see important information about the running state of the program. The only difference is that trace information is very voluminous. That is, there's tons of it, and it could make it harder to find the important information amongst a lot of noise. For that reason, TRACE is usually turned off. -
AUDIT
Information marked audit is for business-related stuff. Like, a new user being created. A photo being looked for. Stuff closer to the user needs.
-
-
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
-