rice.environment.logging.file
Class FileLogManager
java.lang.Object
rice.environment.logging.AbstractLogManager
rice.environment.logging.simple.SimpleLogManager
rice.environment.logging.file.FileLogManager
- All Implemented Interfaces:
- CloneableLogManager, LogManager
public class FileLogManager
- extends SimpleLogManager
- Author:
- Jeff Hoye
Fields inherited from class rice.environment.logging.AbstractLogManager |
dateFormat, dateFormatter, enabled, loggers, nullPrintStream, packageOnly, params, prefix, ps, SYSTEM_ERR, SYSTEM_OUT, time |
Constructor Summary |
FileLogManager(Parameters params)
Convienience constructor. |
FileLogManager(java.io.PrintStream stream,
Parameters params)
Convienience constructor. |
FileLogManager(java.io.PrintStream stream,
TimeSource timeSource,
Parameters params)
|
FileLogManager(java.io.PrintStream stream,
TimeSource timeSource,
Parameters params,
java.lang.String prefix)
|
FileLogManager(java.io.PrintStream stream,
TimeSource timeSource,
Parameters params,
java.lang.String prefix,
java.lang.String filePrefix,
java.lang.String fileSuffix,
java.lang.String dateFormat)
|
FileLogManager(TimeSource timeSource,
Parameters params)
Convienience constructor. |
Method Summary |
LogManager |
clone(java.lang.String detail)
Return a new LogManager with identical parameters except that
there is an indication of detail in each line, or filename if
seperated by files. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
FileLogManager
public FileLogManager(java.io.PrintStream stream,
TimeSource timeSource,
Parameters params)
FileLogManager
public FileLogManager(java.io.PrintStream stream,
TimeSource timeSource,
Parameters params,
java.lang.String prefix)
FileLogManager
public FileLogManager(java.io.PrintStream stream,
TimeSource timeSource,
Parameters params,
java.lang.String prefix,
java.lang.String filePrefix,
java.lang.String fileSuffix,
java.lang.String dateFormat)
FileLogManager
public FileLogManager(Parameters params)
- Convienience constructor.
Defauts to System.out as the stream, and SimpleTimeSource as the timesource.
- Parameters:
minPriority
- the minimum priority to print.
FileLogManager
public FileLogManager(java.io.PrintStream stream,
Parameters params)
- Convienience constructor.
Defauts to SimpleTimeSource as the timesource.
- Parameters:
stream
- the stream to write tominPriority
- the minimum priority to print
FileLogManager
public FileLogManager(TimeSource timeSource,
Parameters params)
- Convienience constructor.
Defauts to System.out as the stream.
- Parameters:
timeSource
- the timesource to get times fromminPriority
- the minimum priority to print
clone
public LogManager clone(java.lang.String detail)
- Description copied from interface:
CloneableLogManager
- Return a new LogManager with identical parameters except that
there is an indication of detail in each line, or filename if
seperated by files.
- Specified by:
clone
in interface CloneableLogManager
- Overrides:
clone
in class SimpleLogManager
- Parameters:
detail
- usually will be a nodeid
- Returns:
- a new LogManager
Copyright © 2001-2005 - Rice Pastry.