|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.tranche.server.logs.LogWriter
public class LogWriter
Class for creating a simple log writer that writes log entries out to a file.
| Constructor Summary | |
|---|---|
LogWriter(java.io.File logFile)
Create a log writer with a file to write log entries out to. |
|
| Method Summary | |
|---|---|
void |
close()
Closes the logging stream |
void |
writeEntry(LogEntry entry)
Write an a LogEntry to the log. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LogWriter(java.io.File logFile)
throws java.lang.Exception
logFile -
java.lang.Exception| Method Detail |
|---|
public void writeEntry(LogEntry entry)
throws java.lang.Exception
entry -
java.lang.Exception
public void close()
throws java.lang.Exception
java.lang.Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||