| 
 | 
 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
java.lang.Object
  |
  +--com.protomatter.syslog.BasicLogger
        |
        +--com.protomatter.syslog.OpenFileLog
A logger that opens the file for each log entry and closes it after it's done writing.
XML configuration class| Fields inherited from class com.protomatter.syslog.BasicLogger | 
| formatter, policy, realPolicy | 
| Constructor Summary | |
| OpenFileLog()You will need to call the configure() method if you use this constructor. | |
| OpenFileLog(java.io.File f)Create an OpenFileLog attached to the given file. | |
| Method Summary | |
|  void | flush()Flush the given logger's output. | 
|  java.io.File | getFile()Get the file we're writing to. | 
|  void | log(SyslogMessage message)Write a log message. | 
|  void | setFile(java.io.File f)Set the file we're writing to. | 
|  void | shutdown()Cleanup our file and prepare for shutdown. | 
| Methods inherited from class com.protomatter.syslog.BasicLogger | 
| formatLogEntry, getName, getPolicy, getTextFormatter, isSuspended, mightLog, resetDateFormat, resume, setName, setPolicy, setTextFormatter, shouldLog, suspend | 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
public OpenFileLog(java.io.File f)
public OpenFileLog()
| Method Detail | 
public void setFile(java.io.File f)
public java.io.File getFile()
public final void log(SyslogMessage message)
public void shutdown()
public void flush()
Syslogger| 
 | Protomatter Classes v1.1.6 Copyright 1998-2001 Nate Sammons | ||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
| Protomatter Classes v1.1.6 | http://protomatter.sourceforge.net/1.1.6 |