Class Logger

java.lang.Object
marauroa.common.Logger

public class Logger extends Object
A wrapper around Log4J logger so that it is easy for us to replace it in the future.
Author:
durkham
  • Method Details

    • addAppender

      public void addAppender(org.apache.log4j.Appender arg0)
    • assertLog

      public void assertLog(boolean arg0, String arg1)
    • callAppenders

      public void callAppenders(org.apache.log4j.spi.LoggingEvent arg0)
    • debug

      public void debug(Object arg0, Throwable arg1)
    • debug

      public void debug(Object arg0)
    • error

      public void error(Object arg0, Throwable arg1)
    • error

      public void error(Object arg0)
    • fatal

      public void fatal(Object arg0, Throwable arg1)
    • fatal

      public void fatal(Object arg0)
    • getAdditivity

      public boolean getAdditivity()
    • getAllAppenders

      public Enumeration<?> getAllAppenders()
    • getAppender

      public org.apache.log4j.Appender getAppender(String arg0)
    • getEffectiveLevel

      public org.apache.log4j.Level getEffectiveLevel()
    • getLoggerRepository

      public org.apache.log4j.spi.LoggerRepository getLoggerRepository()
    • getResourceBundle

      public ResourceBundle getResourceBundle()
    • info

      public void info(Object arg0, Throwable arg1)
    • info

      public void info(Object arg0)
    • isAttached

      public boolean isAttached(org.apache.log4j.Appender arg0)
    • isDebugEnabled

      public boolean isDebugEnabled()
    • isEnabledFor

      public boolean isEnabledFor(org.apache.log4j.Priority arg0)
    • isInfoEnabled

      public boolean isInfoEnabled()
    • l7dlog

      public void l7dlog(org.apache.log4j.Priority arg0, String arg1, Object[] arg2, Throwable arg3)
    • l7dlog

      public void l7dlog(org.apache.log4j.Priority arg0, String arg1, Throwable arg2)
    • log

      public void log(org.apache.log4j.Priority arg0, Object arg1, Throwable arg2)
    • log

      public void log(org.apache.log4j.Priority arg0, Object arg1)
    • log

      public void log(String arg0, org.apache.log4j.Priority arg1, Object arg2, Throwable arg3)
    • removeAllAppenders

      public void removeAllAppenders()
    • removeAppender

      public void removeAppender(org.apache.log4j.Appender arg0)
    • removeAppender

      public void removeAppender(String arg0)
    • setAdditivity

      public void setAdditivity(boolean arg0)
    • setLevel

      public void setLevel(org.apache.log4j.Level arg0)
    • setResourceBundle

      public void setResourceBundle(ResourceBundle arg0)
    • warn

      public void warn(Object arg0, Throwable arg1)
    • warn

      public void warn(Object arg0)