fr.opensagres.xdocreport.core.logging
Class Slf4jLogger

java.lang.Object
  extended by java.util.logging.Logger
      extended by fr.opensagres.xdocreport.core.logging.AbstractDelegatingLogger
          extended by fr.opensagres.xdocreport.core.logging.Slf4jLogger

public class Slf4jLogger
extends AbstractDelegatingLogger

java.util.logging.Logger implementation delegating to SLF4J.

Inspired from org.apache.cxf.common.logging.LogUtils

 FINEST  -> TRACE
 FINER   -> DEBUG
 FINE    -> DEBUG
 CONFIG  -> DEBUG
 INFO    -> INFO
 WARN ING -> WARN
 SEVER   -> ERROR
 

Author:
pascalleclercq

Field Summary
 
Fields inherited from class java.util.logging.Logger
global, GLOBAL_LOGGER_NAME
 
Constructor Summary
Slf4jLogger(String name)
           
 
Method Summary
 Level getLevel()
           
protected  void internalLogFormatted(String msg, LogRecord record)
           
 
Methods inherited from class fr.opensagres.xdocreport.core.logging.AbstractDelegatingLogger
addHandler, config, doLog, doLog, entering, entering, entering, exiting, exiting, fine, finer, finest, formatMessage, getHandlers, getParent, getUseParentHandlers, info, internalLog, isLoggable, log, log, log, log, log, logp, logp, logp, logp, logrb, logrb, logrb, logrb, removeHandler, setLevel, setParent, setUseParentHandlers, severe, throwing, warning
 
Methods inherited from class java.util.logging.Logger
getAnonymousLogger, getAnonymousLogger, getFilter, getLogger, getLogger, getName, getResourceBundle, getResourceBundleName, setFilter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Slf4jLogger

public Slf4jLogger(String name)
Method Detail

getLevel

public Level getLevel()
Specified by:
getLevel in class AbstractDelegatingLogger

internalLogFormatted

protected void internalLogFormatted(String msg,
                                    LogRecord record)
Specified by:
internalLogFormatted in class AbstractDelegatingLogger


Copyright © 2013. All rights reserved.