it.imolinfo.jbi4corba
Interface Logger


public interface Logger

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

Author:
Marco Cimatti

Method Summary
 void debug(String msg)
           
 void debug(String errmsg, Object object)
           
 void debug(String string, Object[] object)
           
 void debug(String format, Object[] args, Throwable t)
          Log an exception (throwable) at level DEBUG with an accompanying message according to the specified format and arguments.
 void debug(String string, Object obj1, Object obj2)
           
 void debug(String errmsg, Throwable e)
           
 void error(String msg)
           
 void error(String msg, Object object)
           
 void error(String string, Object[] args)
           
 void error(String format, Object[] args, Throwable t)
          Log an exception (throwable) at level ERROR with an accompanying message according to the specified format and arguments.
 void error(String string, Object obj1, Object obj2)
           
 void error(String msg, Throwable ex)
           
 void info(String msg)
           
 void info(String msg, Object object)
           
 void info(String string, Object[] args)
           
 void info(String format, Object[] args, Throwable t)
          Log an exception (throwable) at level INFO with an accompanying message according to the specified format and arguments.
 void info(String string, Object obj1, Object obj2)
           
 void info(String msg, Throwable ex)
           
 boolean isDebugEnabled()
           
 boolean isInfoEnabled()
           
 void warn(String string)
           
 void warn(String string, Object object)
           
 void warn(String string, Object[] object)
           
 void warn(String format, Object[] args, Throwable t)
          Log an exception (throwable) at level WARN with an accompanying message according to the specified format and arguments.
 void warn(String string, Object obj1, Object obj2)
           
 void warn(String string, Throwable t)
           
 

Method Detail

debug

void debug(String msg)

debug

void debug(String string,
           Object[] object)

debug

void debug(String errmsg,
           Object object)

debug

void debug(String errmsg,
           Throwable e)

debug

void debug(String string,
           Object obj1,
           Object obj2)

error

void error(String msg)

error

void error(String string,
           Object[] args)

error

void error(String msg,
           Throwable ex)

error

void error(String msg,
           Object object)

error

void error(String string,
           Object obj1,
           Object obj2)

info

void info(String msg)

info

void info(String string,
          Object[] args)

info

void info(String msg,
          Throwable ex)

info

void info(String msg,
          Object object)

info

void info(String string,
          Object obj1,
          Object obj2)

isDebugEnabled

boolean isDebugEnabled()

isInfoEnabled

boolean isInfoEnabled()

warn

void warn(String string)

warn

void warn(String string,
          Object[] object)

warn

void warn(String string,
          Object object)

warn

void warn(String string,
          Throwable t)

warn

void warn(String string,
          Object obj1,
          Object obj2)

debug

void debug(String format,
           Object[] args,
           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(String format,
          Object[] args,
          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(String format,
          Object[] args,
          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(String format,
           Object[] args,
           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 © 2005-2010 Imola Informatica. All Rights Reserved.