org.apache.geronimo.gshell
Class Slf4jLoggingManager.LoggerImpl

java.lang.Object
  extended by org.codehaus.plexus.logging.AbstractLogger
      extended by org.apache.geronimo.gshell.Slf4jLoggingManager.LoggerImpl
All Implemented Interfaces:
org.codehaus.plexus.logging.Logger
Enclosing class:
Slf4jLoggingManager

public static class Slf4jLoggingManager.LoggerImpl
extends org.codehaus.plexus.logging.AbstractLogger

Adapts the Plexus Logger interface to SLF4J


Field Summary
 
Fields inherited from interface org.codehaus.plexus.logging.Logger
LEVEL_DEBUG, LEVEL_DISABLED, LEVEL_ERROR, LEVEL_FATAL, LEVEL_INFO, LEVEL_WARN
 
Constructor Summary
Slf4jLoggingManager.LoggerImpl(int threshold, org.slf4j.Logger logger)
           
 
Method Summary
 void debug(String message, Throwable throwable)
           
 void error(String message, Throwable throwable)
           
 void fatalError(String message, Throwable throwable)
           
 org.codehaus.plexus.logging.Logger getChildLogger(String name)
           
 void info(String message, Throwable throwable)
           
 void warn(String message, Throwable throwable)
           
 
Methods inherited from class org.codehaus.plexus.logging.AbstractLogger
debug, error, fatalError, getName, getThreshold, info, isDebugEnabled, isErrorEnabled, isFatalErrorEnabled, isInfoEnabled, isValidThreshold, isWarnEnabled, setThreshold, warn
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Slf4jLoggingManager.LoggerImpl

public Slf4jLoggingManager.LoggerImpl(int threshold,
                                      org.slf4j.Logger logger)
Method Detail

debug

public void debug(String message,
                  Throwable throwable)

error

public void error(String message,
                  Throwable throwable)

fatalError

public void fatalError(String message,
                       Throwable throwable)

getChildLogger

public org.codehaus.plexus.logging.Logger getChildLogger(String name)

info

public void info(String message,
                 Throwable throwable)

warn

public void warn(String message,
                 Throwable throwable)


Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.