sqlg2.db
Class TraceDebug
java.lang.Object
sqlg2.db.Debug
sqlg2.db.TraceDebug
public class TraceDebug
- extends Debug
Implementation for Debug
- outputs to log file.
Method Summary |
protected void |
close()
Releases all resources (open files etc). |
void |
doError(java.lang.String s)
Outputs error message. |
protected java.io.PrintWriter |
doGetWriter()
|
void |
doPrintStackTrace(java.lang.Throwable th)
Outputs error stacktrace. |
void |
doTrace(java.lang.String s)
Outputs debug trace. |
protected void |
finalize()
|
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TraceDebug
public TraceDebug(java.lang.String errorFile)
TraceDebug
public TraceDebug(java.io.File errorFile)
doTrace
public void doTrace(java.lang.String s)
- Description copied from class:
Debug
- Outputs debug trace.
- Specified by:
doTrace
in class Debug
doError
public void doError(java.lang.String s)
- Description copied from class:
Debug
- Outputs error message.
- Specified by:
doError
in class Debug
doPrintStackTrace
public void doPrintStackTrace(java.lang.Throwable th)
- Description copied from class:
Debug
- Outputs error stacktrace.
- Specified by:
doPrintStackTrace
in class Debug
doGetWriter
protected java.io.PrintWriter doGetWriter()
- Specified by:
doGetWriter
in class Debug
close
protected void close()
- Description copied from class:
Debug
- Releases all resources (open files etc).
- Specified by:
close
in class Debug
finalize
protected void finalize()
throws java.lang.Throwable
- Overrides:
finalize
in class java.lang.Object
- Throws:
java.lang.Throwable