ca.sqlpower.architect
Class LogWriter

java.lang.Object
  extended by ca.sqlpower.architect.LogWriter

public class LogWriter
extends java.lang.Object

Provide a simple logging facility for long running, complicated processes on the architect. Very similar to what you have when running engines from the VB app (some sort of written record the user can look at in case things go horribly wrong);


Constructor Summary
LogWriter(java.lang.String path)
          Open the log file for writing.
 
Method Summary
 void close()
           
 void flush()
           
 void info(java.lang.String strLine)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LogWriter

public LogWriter(java.lang.String path)
          throws ArchitectException
Open the log file for writing. It always tries to append.

Throws:
ArchitectException
Method Detail

info

public void info(java.lang.String strLine)

flush

public void flush()

close

public void close()


Copyright © 2003-2007 SQL Power Group Inc. www.sqlpower.ca