OOP MimeParser Version 3.5

com.bentofw.util
Class Logger4Jcl

java.lang.Object
  extended by com.bentofw.util.Logger4Jcl
All Implemented Interfaces:
GenericLogger

public class Logger4Jcl
extends java.lang.Object
implements GenericLogger

GenericLogger implementation for Apache Common Logging API.

Author:
Jun Inamori

Constructor Summary
Logger4Jcl(Log log)
          Constructor that takes Log object in Apache Common Logging API.
 
Method Summary
 void log(java.util.logging.Level level, java.lang.String sourceClass, java.lang.String sourceMethod, java.lang.String msg)
          Log a message, specifying source class and method.
 void log(java.util.logging.Level level, java.lang.String sourceClass, java.lang.String sourceMethod, java.lang.String msg, java.lang.Throwable thrown)
          Log a message, specifying source class and method, with associated Throwable information.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Logger4Jcl

public Logger4Jcl(Log log)
Constructor that takes Log object in Apache Common Logging API.

Parameters:
log - Log object in Apache Common Logging API.
Method Detail

log

public void log(java.util.logging.Level level,
                java.lang.String sourceClass,
                java.lang.String sourceMethod,
                java.lang.String msg)
Log a message, specifying source class and method.

Specified by:
log in interface GenericLogger
Parameters:
level - One of the message level identifiers, e.g. SEVERE
sourceClass - name of class that issued the logging request
sourceMethod - name of method that issued the logging request
msg - The string message

log

public void log(java.util.logging.Level level,
                java.lang.String sourceClass,
                java.lang.String sourceMethod,
                java.lang.String msg,
                java.lang.Throwable thrown)
Log a message, specifying source class and method, with associated Throwable information.

Specified by:
log in interface GenericLogger
Parameters:
level - One of the message level identifiers, e.g. SEVERE
sourceClass - name of class that issued the logging request
sourceMethod - name of method that issued the logging request
msg - The string message
thrown - Throwable associated with log message

OOP MimeParser Version 3.5

ALL CONTENTS COPYRIGHT 2005, OOP-Research Corporation. All rights reserved.
Any questions and comments are welcome to OOP-Research Corporation.