logging-adapter-jboss 1.0.2.Final

org.ocpsoft.logging.jboss
Class JBossLoggingLogAdapter

java.lang.Object
  extended by org.ocpsoft.logging.Logger
      extended by org.ocpsoft.logging.jboss.JBossLoggingLogAdapter

public class JBossLoggingLogAdapter
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
JBossLoggingLogAdapter(String name)
           
 
Method Summary
protected  boolean isEnabled(Logger.Level level)
           
protected  void log(Logger.Level level, String msg, 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

JBossLoggingLogAdapter

public JBossLoggingLogAdapter(String name)
Method Detail

log

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

isEnabled

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

logging-adapter-jboss 1.0.2.Final

Copyright © 2012 OCPsoft. All Rights Reserved.