com.aragost.javahg.log
Interface Logger

All Known Implementing Classes:
JULLogger

public interface Logger

General interface for logging. This interface is used by each JavaHG class for logging. A implementation of the logger interface can be retrieved by LoggerFactory.getLogger(java.lang.Class).


Method Summary
 void debug(String msg)
          Logs a debugging message - detailed debugging information that can be used for identifying problems without a debugger, e.g.
 void debug(String msg, Object... args)
          Logs a debugging message - detailed debugging information that can be used for identifying problems without a debugger, e.g.
 void debug(String msg, Throwable thrown)
           
 void error(String msg)
           
 void error(String msg, Object... args)
           
 void error(String msg, Throwable thrown)
           
 void info(String msg)
          Logs an informational message - information about application progress, e.g.
 void info(String msg, Object... args)
           
 void info(String msg, Throwable thrown)
           
 boolean isDebugEnabled()
           
 boolean isErrorEnabled()
           
 boolean isInfoEnabled()
           
 boolean isWarnEnabled()
           
 void warn(String msg)
           
 void warn(String msg, Object... args)
           
 void warn(String msg, Throwable thrown)
           
 

Method Detail

debug

void debug(String msg)
Logs a debugging message - detailed debugging information that can be used for identifying problems without a debugger, e.g. entry/exit points, user errors, recoverable errors, algorithm steps. The application performance is significantly reduced when this logging level is enabled. Not for production use.

Parameters:
msg - The message to log.

debug

void debug(String msg,
           Object... args)
Logs a debugging message - detailed debugging information that can be used for identifying problems without a debugger, e.g. entry/exit points, user errors, recoverable errors, algorithm steps. The application performance is significantly reduced when this logging level is enabled. Not for production use.

Parameters:
msg - The message to log.

debug

void debug(String msg,
           Throwable thrown)

info

void info(String msg)
Logs an informational message - information about application progress, e.g. configuration values, service startup/shutdown.

Parameters:
message - The message to log.

info

void info(String msg,
          Object... args)

info

void info(String msg,
          Throwable thrown)

warn

void warn(String msg)

warn

void warn(String msg,
          Object... args)

warn

void warn(String msg,
          Throwable thrown)

error

void error(String msg)

error

void error(String msg,
           Object... args)

error

void error(String msg,
           Throwable thrown)

isInfoEnabled

boolean isInfoEnabled()

isDebugEnabled

boolean isDebugEnabled()

isWarnEnabled

boolean isWarnEnabled()

isErrorEnabled

boolean isErrorEnabled()


Copyright © 2011-2013 aragost Trifork ag. All Rights Reserved.