org.eclipse.cdt.make.internal.core.scannerconfig.util
Class LogWriter

java.lang.Object
  extended by org.eclipse.cdt.make.internal.core.scannerconfig.util.LogWriter

public class LogWriter
extends java.lang.Object

Log writer utility

Author:
vhirsl

Constructor Summary
LogWriter(java.io.File log)
           
 
Method Summary
 void flushLog()
           
 void log(org.eclipse.core.runtime.IStatus status)
           
 void shutdown()
          Shuts down the log.
 void writeln(java.lang.String s)
          Writes the given string to the log, followed by the line terminator string.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LogWriter

public LogWriter(java.io.File log)
Method Detail

writeln

public void writeln(java.lang.String s)
             throws java.io.IOException
Writes the given string to the log, followed by the line terminator string.

Throws:
java.io.IOException

shutdown

public void shutdown()
Shuts down the log.


log

public void log(org.eclipse.core.runtime.IStatus status)

flushLog

public void flushLog()