public static enum LogService.LogLevel extends Enum<LogService.LogLevel>
LogService| Enum Constant and Description |
|---|
DEBUG |
ERROR |
FATAL |
INFO |
TRACE |
WARN |
| Modifier and Type | Method and Description |
|---|---|
int |
getLevel()
Get the severity level
|
static LogService.LogLevel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LogService.LogLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LogService.LogLevel TRACE
public static final LogService.LogLevel DEBUG
public static final LogService.LogLevel INFO
public static final LogService.LogLevel WARN
public static final LogService.LogLevel ERROR
public static final LogService.LogLevel FATAL
public static LogService.LogLevel[] values()
for (LogService.LogLevel c : LogService.LogLevel.values()) System.out.println(c);
public static LogService.LogLevel valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic int getLevel()
ordinal unless there is a specific alternativeCopyright © 2005–2018 Alfresco Software. All rights reserved.