org.bluesock.bluemud.driver
Class LogManager

java.lang.Object
  |
  +--org.bluesock.bluemud.driver.LogManager

class LogManager
extends java.lang.Object

The LogManager is responsible for the creation and updating of logs. All log entries should be made through this class.


Constructor Summary
(package private) LogManager()
           
 
Method Summary
(package private) static void addEntry(java.lang.String logPath, java.lang.String entry)
          Append the given entry to the given log file.
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LogManager

LogManager()
Method Detail

addEntry

static void addEntry(java.lang.String logPath,
                     java.lang.String entry)
Append the given entry to the given log file. If the log file doesn't exist, it will be created. Note that a timestamp is automatically prepended to the entry and a newline is automatically appended to the entry.
Parameters:
logPath: - The full path of the desired log.
entry: - The text to be appended to the log file. It will be prepended with a timestamp and appended with with a newline.


docs generated on Thu Jan 24 08:57:26 CST 2002