Package uk.uuid.slf4j.android
Enum LogLevel
- All Implemented Interfaces:
Serializable,Comparable<LogLevel>
Configuration of Android logging level.
Levels are mapped to the corresponding SLF4J level (except ASSERT which does not exist in SLF4J).
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionLog messages at DEBUG level and above.Log messages at ERROR level and above.Log messages at INFO level and above.UseLog.isLoggable(String, int)to determine the log level.Suppress all log messages.Log messages at TRACE level and above.Log messages at WARN level and above. -
Method Summary
-
Enum Constant Details
-
SUPPRESS
Suppress all log messages. -
ERROR
Log messages at ERROR level and above. -
WARN
Log messages at WARN level and above. -
INFO
Log messages at INFO level and above. -
DEBUG
Log messages at DEBUG level and above. -
VERBOSE
Log messages at TRACE level and above. -
NATIVE
UseLog.isLoggable(String, int)to determine the log level.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException- if the argument is null
-