org.javasimon.callback.logging
Class SLF4JLogTemplate.Debug<C>

java.lang.Object
  extended by org.javasimon.callback.logging.LogTemplate<C>
      extended by org.javasimon.callback.logging.SLF4JLogTemplate<C>
          extended by org.javasimon.callback.logging.SLF4JLogTemplate.Debug<C>
Enclosing class:
SLF4JLogTemplate<C>

public static class SLF4JLogTemplate.Debug<C>
extends SLF4JLogTemplate<C>

SLF4J Log template with DEBUG level.


Nested Class Summary
 
Nested classes/interfaces inherited from class org.javasimon.callback.logging.SLF4JLogTemplate
SLF4JLogTemplate.Debug<C>, SLF4JLogTemplate.Info<C>, SLF4JLogTemplate.Warn<C>
 
Field Summary
 
Fields inherited from class org.javasimon.callback.logging.SLF4JLogTemplate
logger, marker
 
Constructor Summary
SLF4JLogTemplate.Debug(org.slf4j.Logger logger, org.slf4j.Marker marker)
           
SLF4JLogTemplate.Debug(String loggerName, String markerName)
           
 
Method Summary
protected  boolean isEnabled(C context)
          Tell whether logging is enabled.
protected  void log(String message)
          Log a message.
 
Methods inherited from class org.javasimon.callback.logging.SLF4JLogTemplate
getLogger, getMarker
 
Methods inherited from class org.javasimon.callback.logging.LogTemplate
log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SLF4JLogTemplate.Debug

public SLF4JLogTemplate.Debug(String loggerName,
                              String markerName)

SLF4JLogTemplate.Debug

public SLF4JLogTemplate.Debug(org.slf4j.Logger logger,
                              org.slf4j.Marker marker)
Method Detail

isEnabled

protected boolean isEnabled(C context)
Tell whether logging is enabled.

Specified by:
isEnabled in class LogTemplate<C>
Returns:
Logging enabled

log

protected void log(String message)
Log a message.

Specified by:
log in class LogTemplate<C>


Copyright © 2013. All Rights Reserved.