public final class LogLevel extends Object implements Comparable
Note: There's no ERROR log level as all errors result in an exception being raised.
| Modifier and Type | Field and Description |
|---|---|
static LogLevel |
DEBUG
Represents a debug logging level.
|
static LogLevel |
INFO
Represents an info logging level.
|
static LogLevel |
WARN
Represents a warning logging level.
|
public static final LogLevel WARN
public static final LogLevel INFO
public static final LogLevel DEBUG
public static LogLevel toLevel(String levelAsString)
LogLevel object.levelAsString - the string to transformLogLevel objectpublic boolean equals(Object object)
equals in class ObjectObject.equals(Object)public int hashCode()
hashCode in class ObjectObject.hashCode()public int compareTo(Object object)
compareTo in interface ComparableComparable.compareTo(Object)public String getLevel()
public String toString()
toString in class ObjectObject.toString()Copyright © 2004-2013 Codehaus. All Rights Reserved.