org.hippoecm.hst.logging
Interface Logger

All Known Implementing Classes:
NOOPLogger, Slf4jLogger, TraceToolSlf4jLogger

public interface Logger

Wrapper interface to a Logger instance of HST Container.

By using this interface, a component can leave logs in the container's logging context. Also, some core components in hst-commons library cannot access to a specific logging implementation like slf4j. For this reason, the components in hst-commons should get access a Logger component from the container to leave a log message.

Version:
$Id: Logger.java 17696 2009-05-11 09:21:50Z wko $

Method Summary
 void debug(String msg)
           
 void debug(String format, Object arg)
           
 void debug(String format, Object[] argArray)
           
 void debug(String format, Object arg1, Object arg2)
           
 void debug(String msg, Throwable t)
           
 void error(String msg)
           
 void error(String format, Object arg)
           
 void error(String format, Object[] argArray)
           
 void error(String format, Object arg1, Object arg2)
           
 void error(String msg, Throwable t)
           
 void info(String msg)
           
 void info(String format, Object arg)
           
 void info(String format, Object[] arg1)
           
 void info(String format, Object arg1, Object arg2)
           
 void info(String msg, Throwable t)
           
 boolean isDebugEnabled()
           
 boolean isErrorEnabled()
           
 boolean isInfoEnabled()
           
 boolean isWarnEnabled()
           
 void warn(String msg)
           
 void warn(String format, Object arg)
           
 void warn(String format, Object[] argArray)
           
 void warn(String format, Object arg1, Object arg2)
           
 void warn(String msg, Throwable t)
           
 

Method Detail

isDebugEnabled

boolean isDebugEnabled()

debug

void debug(String msg)

debug

void debug(String format,
           Object arg)

debug

void debug(String format,
           Object arg1,
           Object arg2)

debug

void debug(String format,
           Object[] argArray)

debug

void debug(String msg,
           Throwable t)

isInfoEnabled

boolean isInfoEnabled()

info

void info(String msg)

info

void info(String format,
          Object arg)

info

void info(String format,
          Object arg1,
          Object arg2)

info

void info(String format,
          Object[] arg1)

info

void info(String msg,
          Throwable t)

isWarnEnabled

boolean isWarnEnabled()

warn

void warn(String msg)

warn

void warn(String format,
          Object arg)

warn

void warn(String format,
          Object[] argArray)

warn

void warn(String format,
          Object arg1,
          Object arg2)

warn

void warn(String msg,
          Throwable t)

isErrorEnabled

boolean isErrorEnabled()

error

void error(String msg)

error

void error(String format,
           Object arg)

error

void error(String format,
           Object arg1,
           Object arg2)

error

void error(String format,
           Object[] argArray)

error

void error(String msg,
           Throwable t)


Copyright © 2008-2012 Hippo. All Rights Reserved.