com.mycila.log.log4j
Class Log4jLogger

java.lang.Object
  extended by com.mycila.log.AbstractLogger
      extended by com.mycila.log.log4j.Log4jLogger
All Implemented Interfaces:
Logger

public final class Log4jLogger
extends AbstractLogger

Author:
Mathieu Carbou (mathieu.carbou@gmail.com)

Constructor Summary
Log4jLogger(java.lang.String name)
           
 
Method Summary
 boolean canLog(Level level)
           
protected  void doLog(Level level, java.lang.Throwable throwable, java.lang.Object message, java.lang.Object... args)
           
 
Methods inherited from class com.mycila.log.AbstractLogger
canDebug, canError, canInfo, canTrace, canWarn, debug, debug, debug, debug, error, error, error, error, info, info, info, info, log, log, log, log, trace, trace, trace, trace, warn, warn, warn, warn
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Log4jLogger

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

canLog

public boolean canLog(Level level)

doLog

protected void doLog(Level level,
                     java.lang.Throwable throwable,
                     java.lang.Object message,
                     java.lang.Object... args)
Specified by:
doLog in class AbstractLogger


Copyright © 2008-2010 Mycila. All Rights Reserved.