Snapper 3.0 API

org.enhydra.snapper.logging
Class MonologLoggingManager

java.lang.Object
  extended by org.enhydra.snapper.logging.MonologLoggingManager
All Implemented Interfaces:
LoggingManager

public class MonologLoggingManager
extends java.lang.Object
implements LoggingManager

Implementation of LoggingManager interface.


Constructor Summary
MonologLoggingManager()
           
 
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

MonologLoggingManager

public MonologLoggingManager()
Method Detail

configure

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

Specified by:
configure in interface LoggingManager
Parameters:
cus - an instance of CallbackUtilities used to get properties for configuring logging in Shark.

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 3.0 API