Serializable
, Comparable<System.Logger.Level>
, Constable
System.Logger
Enum Constants
A marker to indicate that all levels are enabled.
DEBUG
level: usually used to log debug information traces.
ERROR
level: usually used to log error messages.
INFO
level: usually used to log information messages.
A marker to indicate that all levels are disabled.
TRACE
level: usually used to log diagnostic information.
WARNING
level: usually used to log warning messages.
Returns the name of this level.
final int
Returns the severity of this level.
Returns the enum constant of this class with the specified name.
Returns an array containing the constants of this enum class, in the order they are declared.
Methods declared in class java.lang.Enumclone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
TRACE
level: usually used to log diagnostic information. This level
severityis
400
.
DEBUG
level: usually used to log debug information traces. This level
severityis
500
.
INFO
level: usually used to log information messages. This level
severityis
800
.
WARNING
level: usually used to log warning messages. This level
severityis
900
.
ERROR
level: usually used to log error messages. This level
severityis
1000
.
Returns an array containing the constants of this enum class, in the order they are declared.
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.)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum class has no constant with the specified name
NullPointerException
- if the argument is null
()
Returns the name of this level.
public final int getSeverity()
Returns the severity of this level. A higher severity means a more severe condition.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4