|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.codehaus.cargo.util.log.LogLevel
Definition of logging levels for Cargo's logs. A WARN level means only warnings are logged. An INFO level means warnings and infos are logged. A DEBUG level means warnings, info and debug messages are logged.
Note: There's no ERROR log level as all errors result in an exception being raised.
Field Summary | |
static LogLevel |
DEBUG
Represents a debug logging level. |
static LogLevel |
INFO
Represents an info logging level. |
static LogLevel |
WARN
Represents a warning logging level. |
Method Summary | |
int |
compareTo(java.lang.Object object)
|
boolean |
equals(java.lang.Object object)
|
java.lang.String |
getLevel()
|
int |
hashCode()
|
static LogLevel |
toLevel(java.lang.String levelAsString)
Transform a log level represented as a string into a LogLevel object. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final LogLevel WARN
public static final LogLevel INFO
public static final LogLevel DEBUG
Method Detail |
public static LogLevel toLevel(java.lang.String levelAsString)
LogLevel
object.
levelAsString
- the string to transform
LogLevel
objectpublic boolean equals(java.lang.Object object)
Object.equals(Object)
public int hashCode()
Object.hashCode()
public int compareTo(java.lang.Object object)
compareTo
in interface java.lang.Comparable
Comparable.compareTo(Object)
public java.lang.String getLevel()
public java.lang.String toString()
Object.toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |