anderix.logging
Class WindowsLog

java.lang.Object
  extended by anderix.logging.Log
      extended by anderix.logging.WindowsLog

public class WindowsLog
extends Log

Application must be running as administrator to write to the Windows Event Log.


Constructor Summary
WindowsLog()
           
WindowsLog(java.lang.String logName)
           
 
Method Summary
 void error(java.lang.String logName, java.lang.Throwable t)
           
 void error(java.lang.Throwable t)
           
 
Methods inherited from class anderix.logging.Log
error, error, info, info, parseStackTrace, warn, warn
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WindowsLog

public WindowsLog()

WindowsLog

public WindowsLog(java.lang.String logName)
Method Detail

error

public void error(java.lang.Throwable t)
Overrides:
error in class Log

error

public void error(java.lang.String logName,
                  java.lang.Throwable t)
Overrides:
error in class Log