|
Rice Pastry API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object rice.environment.logging.AbstractLogManager
Field Summary | |
protected java.lang.String |
dateFormat
DESCRIBE THE FIELD |
javax.swing.text.DateFormatter |
dateFormatter
DESCRIBE THE FIELD |
protected boolean |
enabled
DESCRIBE THE FIELD |
protected java.util.Hashtable |
loggers
Hashtable of loggers stored by full.class.name[instance] |
protected static java.io.PrintStream |
nullPrintStream
DESCRIBE THE FIELD |
protected boolean |
packageOnly
If we only want package level granularity. |
protected Parameters |
params
DESCRIBE THE FIELD |
protected java.lang.String |
prefix
DESCRIBE THE FIELD |
protected java.io.PrintStream |
ps
DESCRIBE THE FIELD |
static java.lang.String |
SYSTEM_ERR
DESCRIBE THE FIELD |
static java.lang.String |
SYSTEM_OUT
DESCRIBE THE FIELD |
protected TimeSource |
time
DESCRIBE THE FIELD |
Constructor Summary | |
protected |
AbstractLogManager(java.io.PrintStream stream,
TimeSource timeSource,
Parameters params,
java.lang.String prefix,
java.lang.String df)
Constructor for AbstractLogManager. |
Method Summary | |
protected abstract Logger |
constructLogger(java.lang.String clazz,
int level,
boolean useDefault)
DESCRIBE THE METHOD |
Logger |
getLogger(java.lang.Class clazz,
java.lang.String instance)
Returns the Logger matching the paramerters, constructs a new one if an appropriate one hasn't yet been constructed. |
java.lang.String |
getPrefix()
Gets the Prefix attribute of the AbstractLogManager object |
java.io.PrintStream |
getPrintStream()
Gets the PrintStream attribute of the AbstractLogManager object |
TimeSource |
getTimeSource()
Gets the TimeSource attribute of the AbstractLogManager object |
protected int |
parseVal(java.lang.String key)
DESCRIBE THE METHOD |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected java.util.Hashtable loggers
protected Parameters params
protected TimeSource time
protected java.io.PrintStream ps
protected java.lang.String prefix
protected java.lang.String dateFormat
protected boolean packageOnly
protected boolean enabled
public javax.swing.text.DateFormatter dateFormatter
protected static java.io.PrintStream nullPrintStream
public static final java.lang.String SYSTEM_OUT
public static final java.lang.String SYSTEM_ERR
Constructor Detail |
protected AbstractLogManager(java.io.PrintStream stream, TimeSource timeSource, Parameters params, java.lang.String prefix, java.lang.String df)
stream
- DESCRIBE THE PARAMETERtimeSource
- DESCRIBE THE PARAMETERparams
- DESCRIBE THE PARAMETERprefix
- DESCRIBE THE PARAMETERdf
- DESCRIBE THE PARAMETERMethod Detail |
public Logger getLogger(java.lang.Class clazz, java.lang.String instance)
LogManager
getLogger
in interface LogManager
clazz
- DESCRIBE THE PARAMETERinstance
- DESCRIBE THE PARAMETER
public TimeSource getTimeSource()
public java.io.PrintStream getPrintStream()
public java.lang.String getPrefix()
protected int parseVal(java.lang.String key)
key
- DESCRIBE THE PARAMETER
protected abstract Logger constructLogger(java.lang.String clazz, int level, boolean useDefault)
clazz
- DESCRIBE THE PARAMETERlevel
- DESCRIBE THE PARAMETERuseDefault
- DESCRIBE THE PARAMETER
|
Rice Pastry API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |