|
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 rice.environment.logging.simple.SimpleLogManager
This class creates loggers that log to a specified PrintStream System.out by default.
Field Summary |
Fields inherited from class rice.environment.logging.AbstractLogManager |
dateFormat, dateFormatter, enabled, loggers, nullPrintStream, packageOnly, params, prefix, ps, SYSTEM_ERR, SYSTEM_OUT, time |
Constructor Summary | |
SimpleLogManager(Parameters params)
Convienience constructor. |
|
SimpleLogManager(java.io.PrintStream stream,
Parameters params)
Convienience constructor. |
|
SimpleLogManager(java.io.PrintStream stream,
TimeSource timeSource,
Parameters params)
Constructor. |
|
SimpleLogManager(java.io.PrintStream stream,
TimeSource timeSource,
Parameters params,
java.lang.String prefix,
java.lang.String dateFormat)
Constructor for SimpleLogManager. |
|
SimpleLogManager(TimeSource timeSource,
Parameters params)
Convienience constructor. |
Method Summary | |
LogManager |
clone(java.lang.String detail)
DESCRIBE THE METHOD |
protected Logger |
constructLogger(java.lang.String clazz,
int level,
boolean useDefault)
DESCRIBE THE METHOD |
Parameters |
getParameters()
Gets the Parameters attribute of the SimpleLogManager object |
java.io.PrintStream |
getPrintStream()
Gets the PrintStream attribute of the SimpleLogManager object |
TimeSource |
getTimeSource()
Gets the TimeSource attribute of the SimpleLogManager object |
Methods inherited from class rice.environment.logging.AbstractLogManager |
getLogger, getPrefix, parseVal |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface rice.environment.logging.LogManager |
getLogger |
Constructor Detail |
public SimpleLogManager(java.io.PrintStream stream, TimeSource timeSource, Parameters params)
stream
- the stream to write totimeSource
- the timesource to get times fromparams
- DESCRIBE THE PARAMETERpublic SimpleLogManager(java.io.PrintStream stream, TimeSource timeSource, Parameters params, java.lang.String prefix, java.lang.String dateFormat)
stream
- DESCRIBE THE PARAMETERtimeSource
- DESCRIBE THE PARAMETERparams
- DESCRIBE THE PARAMETERprefix
- DESCRIBE THE PARAMETERdateFormat
- DESCRIBE THE PARAMETERpublic SimpleLogManager(Parameters params)
params
- DESCRIBE THE PARAMETERpublic SimpleLogManager(java.io.PrintStream stream, Parameters params)
stream
- the stream to write toparams
- DESCRIBE THE PARAMETERpublic SimpleLogManager(TimeSource timeSource, Parameters params)
timeSource
- the timesource to get times fromparams
- DESCRIBE THE PARAMETERMethod Detail |
public java.io.PrintStream getPrintStream()
getPrintStream
in class AbstractLogManager
public Parameters getParameters()
public TimeSource getTimeSource()
getTimeSource
in class AbstractLogManager
protected Logger constructLogger(java.lang.String clazz, int level, boolean useDefault)
constructLogger
in class AbstractLogManager
clazz
- DESCRIBE THE PARAMETERlevel
- DESCRIBE THE PARAMETERuseDefault
- DESCRIBE THE PARAMETER
public LogManager clone(java.lang.String detail)
clone
in interface CloneableLogManager
detail
- DESCRIBE THE PARAMETER
|
Rice Pastry API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |