org.eclipse.higgins.sts.utilities
Class LogHelper

java.lang.Object
  extended byorg.eclipse.higgins.sts.utilities.LogHelper

public class LogHelper
extends Object

Wraps commons logging to protect against exceptions when called due to logging turned off

Author:
mikemci at us dot ibm dot com

Constructor Summary
LogHelper(org.apache.commons.logging.Log log)
           
LogHelper(String strClass)
           
 
Method Summary
 void debug(Object object)
           
 void error(Object object)
           
 void fatal(Object object)
           
 org.apache.commons.logging.Log getLog()
           
 void info(Object object)
           
 void trace(Object object)
           
 void warn(Object object)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LogHelper

public LogHelper(String strClass)

LogHelper

public LogHelper(org.apache.commons.logging.Log log)
Method Detail

getLog

public org.apache.commons.logging.Log getLog()

trace

public void trace(Object object)

debug

public void debug(Object object)

info

public void info(Object object)

error

public void error(Object object)

warn

public void warn(Object object)

fatal

public void fatal(Object object)