org.prorefactor.io
Class LogFile
java.lang.Object
java.io.Writer
java.io.BufferedWriter
org.prorefactor.io.LogFile
- All Implemented Interfaces:
- java.io.Closeable, java.io.Flushable, java.lang.Appendable
public class LogFile
- extends java.io.BufferedWriter
Log Files and IO for parse error logs, exception logs.
Fields inherited from class java.io.Writer |
lock |
Constructor Summary |
LogFile(java.io.File outFile)
|
Methods inherited from class java.io.BufferedWriter |
close, flush, newLine, write, write, write |
Methods inherited from class java.io.Writer |
append, append, append, write, write |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LogFile
public LogFile(java.io.File outFile)
throws java.io.IOException
- Throws:
java.io.IOException
createErrorLog
public static LogFile createErrorLog()
throws java.io.IOException
- Use the error log for parse errors or similar.
- Throws:
java.io.IOException
createExceptionLog
public static LogFile createExceptionLog()
throws java.io.IOException
- Use the exception log for writing full exception stack traces.
- Throws:
java.io.IOException
createOutputLog
public static LogFile createOutputLog()
throws java.io.IOException
- Use the output log for writing normal processing messages.
- Throws:
java.io.IOException
Copyright © 2008 Joanju Software. All Rights Reserved.