|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.uni_paderborn.fujaba.logging.LoggerInfo
Information about a logger
Field Summary | |
static java.lang.String |
DEBUG
Constant to represent the logging level DEBUG |
static java.lang.String |
ERROR
Constant to represent the logging level ERROR |
static java.lang.String |
FATAL
Constant to represent the logging level FATAL |
static java.lang.String |
INFO
Constant to represent the logging level INFO |
static java.lang.String |
INHERITED
Constant to represent that a logger should inherit its level |
static java.lang.String[] |
LEVELS
Convenience array containing all the logging constants |
static java.lang.String |
OFF
Constant to represent the logging level OFF (ie, do not log) |
static java.lang.String |
WARN
Constant to represent the logging level WARN |
Constructor Summary | |
LoggerInfo(java.lang.String aName,
java.lang.String aLevel)
Creates a new LoggerInfo object |
Method Summary | |
java.lang.String |
getLevel()
Get the level of the logger which this object contains info about |
java.lang.String |
getName()
Get the name of the logger which this object contains info about |
void |
setLevel(java.lang.String aLevel)
Set the level which the logger which this object contains info about should log at |
java.lang.String |
toString()
Generate a string representing the info containing in this object |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final java.lang.String INHERITED
public static final java.lang.String DEBUG
public static final java.lang.String INFO
public static final java.lang.String WARN
public static final java.lang.String ERROR
public static final java.lang.String FATAL
public static final java.lang.String OFF
public static final java.lang.String[] LEVELS
Constructor Detail |
public LoggerInfo(java.lang.String aName, java.lang.String aLevel)
aName
- the name of the loggeraLevel
- the level which the logger is logging atMethod Detail |
public java.lang.String toString()
public java.lang.String getName()
public java.lang.String getLevel()
public void setLevel(java.lang.String aLevel)
aLevel
- the level the logger should log at
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |