Snapper 1.0 API

org.enhydra.snapper.logging
Class StandardLoggingManager

java.lang.Object
  extended byorg.enhydra.snapper.logging.StandardLoggingManager
All Implemented Interfaces:
LoggingManager

public class StandardLoggingManager
extends java.lang.Object
implements LoggingManager

Implementation of LoggingManager interface.

Author:
Sasa Bojanic, Tanja Jovanovic, Igor Smirnov

Constructor Summary
StandardLoggingManager()
           
 
Method Summary
 void configure(java.util.Properties prop)
          Configures StandardLoggingManager.
 void debug(java.lang.String msg)
          Log a message object with the DEBUG level.
 void debug(java.lang.String msg, RootException ex)
          Log a message object with the DEBUG level.
 void debug(java.lang.String channel, java.lang.String msg)
          Log a message object with the DEBUG level.
 void debug(java.lang.String channel, java.lang.String msg, RootException ex)
          Log a message object with the DEBUG level.
 void error(java.lang.String msg)
          Log a message object with the ERROR Level.
 void error(java.lang.String msg, RootException ex)
          Log a message object with the ERROR Level.
 void error(java.lang.String channel, java.lang.String msg)
          Log a message object with the ERROR Level.
 void error(java.lang.String channel, java.lang.String msg, RootException ex)
          Log a message object with the ERROR Level.
 void info(java.lang.String msg)
          Log a message object with the INFO Level.
 void info(java.lang.String msg, RootException ex)
          Log a message object with the INFO Level.
 void info(java.lang.String channel, java.lang.String msg)
          Log a message object with the INFO Level.
 void info(java.lang.String channel, java.lang.String msg, RootException ex)
          Log a message object with the INFO Level.
 void warn(java.lang.String msg)
          Log a message object with the WARN Level.
 void warn(java.lang.String msg, RootException ex)
          Log a message object with the WARN Level.
 void warn(java.lang.String channel, java.lang.String msg)
          Log a message object with the WARN Level.
 void warn(java.lang.String channel, java.lang.String msg, RootException ex)
          Log a message object with the WARN Level.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StandardLoggingManager

public StandardLoggingManager()
Method Detail

configure

public void configure(java.util.Properties prop)
Configures StandardLoggingManager.

Specified by:
configure in interface LoggingManager

error

public void error(java.lang.String msg)
Log a message object with the ERROR Level.

Specified by:
error in interface LoggingManager
Parameters:
msg - the message to log.

error

public void error(java.lang.String msg,
                  RootException ex)
Log a message object with the ERROR Level.

Specified by:
error in interface LoggingManager
Parameters:
msg - the message to log.
ex - the exception to log, including its stack trace.

error

public void error(java.lang.String channel,
                  java.lang.String msg)
Log a message object with the ERROR Level.

Specified by:
error in interface LoggingManager
Parameters:
channel - the log channel to be used for logging.
msg - the message to log.

error

public void error(java.lang.String channel,
                  java.lang.String msg,
                  RootException ex)
Log a message object with the ERROR Level.

Specified by:
error in interface LoggingManager
Parameters:
channel - the log channel to be used for logging.
msg - the message to log.
ex - the exception to log, including its stack trace.

warn

public void warn(java.lang.String msg)
Log a message object with the WARN Level.

Specified by:
warn in interface LoggingManager
Parameters:
msg - the message to log.

warn

public void warn(java.lang.String msg,
                 RootException ex)
Log a message object with the WARN Level.

Specified by:
warn in interface LoggingManager
Parameters:
msg - the message to log.
ex - the exception to log, including its stack trace.

warn

public void warn(java.lang.String channel,
                 java.lang.String msg)
Log a message object with the WARN Level.

Specified by:
warn in interface LoggingManager
Parameters:
channel - the log channel to be used for logging.
msg - the message to log.

warn

public void warn(java.lang.String channel,
                 java.lang.String msg,
                 RootException ex)
Log a message object with the WARN Level.

Specified by:
warn in interface LoggingManager
Parameters:
channel - the log channel to be used for logging.
msg - the message to log.
ex - the exception to log, including its stack trace.

info

public void info(java.lang.String msg)
Log a message object with the INFO Level.

Specified by:
info in interface LoggingManager
Parameters:
msg - the message to log.

info

public void info(java.lang.String msg,
                 RootException ex)
Log a message object with the INFO Level.

Specified by:
info in interface LoggingManager
Parameters:
msg - the message to log.
ex - the exception to log, including its stack trace.

info

public void info(java.lang.String channel,
                 java.lang.String msg)
Log a message object with the INFO Level.

Specified by:
info in interface LoggingManager
Parameters:
channel - the log channel to be used for logging.
msg - the message to log.

info

public void info(java.lang.String channel,
                 java.lang.String msg,
                 RootException ex)
Log a message object with the INFO Level.

Specified by:
info in interface LoggingManager
Parameters:
channel - the log channel to be used for logging.
msg - the message to log.
ex - the exception to log, including its stack trace.

debug

public void debug(java.lang.String msg)
Log a message object with the DEBUG level.

Specified by:
debug in interface LoggingManager
Parameters:
msg - the message to log.

debug

public void debug(java.lang.String msg,
                  RootException ex)
Log a message object with the DEBUG level.

Specified by:
debug in interface LoggingManager
Parameters:
msg - the message to log.
ex - the exception to log, including its stack trace.

debug

public void debug(java.lang.String channel,
                  java.lang.String msg)
Log a message object with the DEBUG level.

Specified by:
debug in interface LoggingManager
Parameters:
channel - the log channel to be used for logging.
msg - the message to log.

debug

public void debug(java.lang.String channel,
                  java.lang.String msg,
                  RootException ex)
Log a message object with the DEBUG level.

Specified by:
debug in interface LoggingManager
Parameters:
channel - the log channel to be used for logging.
msg - the message to log.
ex - the exception to log, including its stack trace.

Snapper 1.0 API