Enum Constant and Description |
---|
AUDIT
Audit – Information that must always be logged.
|
DEBUG
Debug – Detailed output for debugging operations.
|
ERROR
Error – Information about an error situation.
|
INFO
Info – Information about normal operation.
|
TRACE
Trace level – Large volume of output for tracing operations.
|
WARN
Warning – Information about a failure or unwanted situation that is not
blocking.
|
Modifier and Type | Method and Description |
---|---|
boolean |
implies(LogLevel other)
Returns whether this log level implies the specified log level.
|
static LogLevel |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static LogLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LogLevel AUDIT
public static final LogLevel ERROR
public static final LogLevel WARN
public static final LogLevel INFO
public static final LogLevel DEBUG
public static final LogLevel TRACE
public static LogLevel[] values()
for (LogLevel c : LogLevel.values()) System.out.println(c);
public static LogLevel valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic boolean implies(LogLevel other)
other
- The other log level.true
If this log level implies the specified log level;
false
otherwise.Copyright © OSGi Alliance (2000, 2020). All Rights Reserved. Licensed under the OSGi Specification License, Version 2.0