anderix.logging
Class Log

java.lang.Object
  extended by anderix.logging.Log
Direct Known Subclasses:
WindowsLog

public class Log
extends java.lang.Object


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

Constructor Detail

Log

public Log()

Log

public Log(java.lang.String logName)

Log

public Log(java.lang.String logName,
           java.lang.String logPath)
Method Detail

parseStackTrace

public static java.lang.String parseStackTrace(java.lang.Throwable t)

error

public void error(java.lang.Throwable t)

error

public void error(java.lang.String logName,
                  java.lang.Throwable t)

error

public void error(java.lang.String msg)

error

public void error(java.lang.String logName,
                  java.lang.String msg)

warn

public void warn(java.lang.String msg)

warn

public void warn(java.lang.String logName,
                 java.lang.String msg)

info

public void info(java.lang.String msg)

info

public void info(java.lang.String logName,
                 java.lang.String msg)