|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.smartics.ci.comm.LogLevel
public final class LogLevel
The log level.
Field Summary | |
---|---|
static String |
NORMAL The normal level: writes only command result descriptions. |
static String |
QUIET The quiet level: prints no info messages. |
static String |
TRACE The verbose level: provides the most verbose output with dumping the contents of the returned pages. |
static String |
VERBOSE The verbose level: adds information about the called service and parameters |
Constructor Summary | |
---|---|
LogLevel(String level) Default constructor. |
Method Summary | |
---|---|
String |
getLevel() Returns the name of the current level. |
boolean |
isNormal() Checks if the current level is normal or greater. |
boolean |
isQuiet() Checks if the current level is quiet. |
boolean |
isTrace() Checks if the current level is trace. |
boolean |
isVerbose() Checks if the current level is verbose or greater. |
String |
toString() |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final String QUIET
The value of this constant is "QUIET".
"QUIET"
public static final String NORMAL
The value of this constant is "NORMAL".
"NORMAL"
public static final String VERBOSE
The value of this constant is "VERBOSE".
"VERBOSE"
public static final String TRACE
The value of this constant is "TRACE".
"TRACE"
Constructor Detail |
---|
public LogLevel(String level)
level
- the name of the current level.
Method Detail |
---|
public String getLevel()
public boolean isQuiet()
true
if the current level is quiet.
public boolean isNormal()
true
if the current level is normal or greater.
public boolean isVerbose()
true
if the current level is verbose or greater.
public boolean isTrace()
true
if the current level is trace.
public String toString()
toString
in class
Object
Object.toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |