Package org.pipservices3.components.log
Enum Class LogLevel
- All Implemented Interfaces:
Serializable,Comparable<LogLevel>,Constable
Standard log levels.
Logs at debug and trace levels are usually captured only locally for troubleshooting and never sent to consolidated log services.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
-
Enum Constant Details
-
None
Nothing to log -
Fatal
Log only fatal errors that cause processes to crash -
Error
Log all errors. -
Warn
Log errors and warnings -
Info
Log errors and important information messages -
Debug
Log everything except traces -
Trace
Log everything.
-
-
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()
-