com.samskivert.util
Class Log4JLogger.Impl

java.lang.Object
  extended by com.samskivert.util.Logger
      extended by com.samskivert.util.Log4JLogger.Impl
Enclosing class:
Log4JLogger

protected static class Log4JLogger.Impl
extends Logger


Nested Class Summary
 
Nested classes/interfaces inherited from class com.samskivert.util.Logger
Logger.Factory
 
Field Summary
protected  org.apache.log4j.Logger _impl
           
protected  String _self
           
 
Fields inherited from class com.samskivert.util.Logger
_factory
 
Constructor Summary
Log4JLogger.Impl(org.apache.log4j.Logger impl)
           
 
Method Summary
 void debug(Object message, Object... args)
          Logs a debug message.
 void error(Object message, Object... args)
          Logs an error message.
 void info(Object message, Object... args)
          Logs an info message.
 void warning(Object message, Object... args)
          Logs a warning message.
 
Methods inherited from class com.samskivert.util.Logger
createConfiguredFactory, format, getException, getLogger, getLogger, initLogger, setFactory
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_impl

protected final org.apache.log4j.Logger _impl

_self

protected final String _self
Constructor Detail

Log4JLogger.Impl

public Log4JLogger.Impl(org.apache.log4j.Logger impl)
Method Detail

debug

public void debug(Object message,
                  Object... args)
Description copied from class: Logger
Logs a debug message.

Specified by:
debug in class Logger
Parameters:
message - the message to be logged.
args - a list of key/value pairs and an optional final Throwable.

info

public void info(Object message,
                 Object... args)
Description copied from class: Logger
Logs an info message.

Specified by:
info in class Logger
Parameters:
message - the message to be logged.
args - a list of key/value pairs and an optional final Throwable.

warning

public void warning(Object message,
                    Object... args)
Description copied from class: Logger
Logs a warning message.

Specified by:
warning in class Logger
Parameters:
message - the message to be logged.
args - a list of key/value pairs and an optional final Throwable.

error

public void error(Object message,
                  Object... args)
Description copied from class: Logger
Logs an error message.

Specified by:
error in class Logger
Parameters:
message - the message to be logged.
args - a list of key/value pairs and an optional final Throwable.


Copyright © 2000-2008 Michael Bayne. All Rights Reserved.