logging-adapter-slf4j 1.0.1.Final

org.ocpsoft.logging.slf4j
Class SLF4JLogAdapter

java.lang.Object
  extended by org.ocpsoft.logging.Logger
      extended by org.ocpsoft.logging.slf4j.SLF4JLogAdapter

public class SLF4JLogAdapter
extends Logger

Log adapter that delegates log events to SLF4J

Author:
Christian Kaltepoth

Nested Class Summary
 
Nested classes/interfaces inherited from class org.ocpsoft.logging.Logger
Logger.Level
 
Constructor Summary
SLF4JLogAdapter(java.lang.String name)
           
 
Method Summary
protected  boolean isEnabled(Logger.Level level)
           
protected  void log(Logger.Level level, java.lang.String msg, java.lang.Throwable t)
           
 
Methods inherited from class org.ocpsoft.logging.Logger
debug, debug, debug, debug, debug, error, error, error, error, error, format, getLogger, getLogger, info, info, info, info, info, isDebugEnabled, isErrorEnabled, isInfoEnabled, isTraceEnabled, isWarnEnabled, trace, trace, trace, trace, trace, warn, warn, warn, warn, warn
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SLF4JLogAdapter

public SLF4JLogAdapter(java.lang.String name)
Method Detail

log

protected void log(Logger.Level level,
                   java.lang.String msg,
                   java.lang.Throwable t)
Specified by:
log in class Logger

isEnabled

protected boolean isEnabled(Logger.Level level)
Specified by:
isEnabled in class Logger

logging-adapter-slf4j 1.0.1.Final

Copyright © 2012 OCPsoft. All Rights Reserved.