it.imolinfo.jbi4ejb
Interface Logger

All Superinterfaces:
org.slf4j.Logger

public interface Logger
extends org.slf4j.Logger

The main user interface to logging. It is expected that logging takes place through concrete implementations of this interface.

Author:
Marco Cimatti

Field Summary
 
Fields inherited from interface org.slf4j.Logger
ROOT_LOGGER_NAME
 
Method Summary
 void debug(java.lang.String format, java.lang.Object[] args, java.lang.Throwable t)
          Log an exception (throwable) at level DEBUG with an accompanying message according to the specified format and arguments.
 void error(java.lang.String format, java.lang.Object[] args, java.lang.Throwable t)
          Log an exception (throwable) at level ERROR with an accompanying message according to the specified format and arguments.
 void info(java.lang.String format, java.lang.Object[] args, java.lang.Throwable t)
          Log an exception (throwable) at level INFO with an accompanying message according to the specified format and arguments.
 void warn(java.lang.String format, java.lang.Object[] args, java.lang.Throwable t)
          Log an exception (throwable) at level WARN with an accompanying message according to the specified format and arguments.
 
Methods inherited from interface org.slf4j.Logger
debug, debug, debug, debug, debug, debug, debug, debug, debug, debug, error, error, error, error, error, error, error, error, error, error, getName, info, info, info, info, info, info, info, info, info, info, isDebugEnabled, isDebugEnabled, isErrorEnabled, isErrorEnabled, isInfoEnabled, isInfoEnabled, isWarnEnabled, isWarnEnabled, warn, warn, warn, warn, warn, warn, warn, warn, warn, warn
 

Method Detail

debug

void debug(java.lang.String format,
           java.lang.Object[] args,
           java.lang.Throwable t)
Log an exception (throwable) at level DEBUG with an accompanying message according to the specified format and arguments.

This form avoids superfluous object creation when the logger is disabled for the DEBUG level.

Parameters:
format - the format string.
args - the arguments.
t - the exception (throwable) to log.

info

void info(java.lang.String format,
          java.lang.Object[] args,
          java.lang.Throwable t)
Log an exception (throwable) at level INFO with an accompanying message according to the specified format and arguments.

This form avoids superfluous object creation when the logger is disabled for the INFO level.

Parameters:
format - the format string.
args - the arguments.
t - the exception (throwable) to log.

warn

void warn(java.lang.String format,
          java.lang.Object[] args,
          java.lang.Throwable t)
Log an exception (throwable) at level WARN with an accompanying message according to the specified format and arguments.

This form avoids superfluous object creation when the logger is disabled for the WARN level.

Parameters:
format - the format string.
args - the arguments.
t - the exception (throwable) to log.

error

void error(java.lang.String format,
           java.lang.Object[] args,
           java.lang.Throwable t)
Log an exception (throwable) at level ERROR with an accompanying message according to the specified format and arguments.

This form avoids superfluous object creation when the logger is disabled for the ERROR level.

Parameters:
format - the format string.
args - the arguments.
t - the exception (throwable) to log.


Copyright © 2007-2008 Imola Informatica. All Rights Reserved.