Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Rice Pastry API
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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

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
`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 rice.environment.logging.simple.SimpleLogManager
`clone, constructLogger, getParameters, getPrintStream, getTimeSource, toString`

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, wait, wait, wait`

Methods inherited from interface rice.environment.logging.CloneableLogManager
`getPrefix`

Methods inherited from interface rice.environment.logging.LogManager
`getLogger`

Constructor Detail

### 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 to
    `minPriority` - 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 from
    `minPriority` - the minimum priority to print

Method Detail

### 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

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Rice Pastry API
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2001-2005 - Rice Pastry.