Save This Page
Home » geronimo-2.2-source-release » org.apache.geronimo.system.logging.log4j » [javadoc | source]
org.apache.geronimo.system.logging.log4j
public final class: CachingLog4jLog [javadoc | source]
java.lang.Object
   org.apache.geronimo.system.logging.log4j.CachingLog4jLog

All Implemented Interfaces:
    Log

This log wrapper caches the trace, debug and info enabled flags. The flags are updated by a single timer task for all logs.
Constructor:
 public CachingLog4jLog(String name) 
 public CachingLog4jLog(Logger logger) 
Method from org.apache.geronimo.system.logging.log4j.CachingLog4jLog Summary:
debug,   debug,   error,   error,   fatal,   fatal,   info,   info,   isDebugEnabled,   isErrorEnabled,   isFatalEnabled,   isInfoEnabled,   isTraceEnabled,   isWarnEnabled,   trace,   trace,   updateLevelInfo,   warn,   warn
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.geronimo.system.logging.log4j.CachingLog4jLog Detail:
 public  void debug(Object message) 
 public  void debug(Object message,
    Throwable throwable) 
 public  void error(Object message) 
 public  void error(Object message,
    Throwable throwable) 
 public  void fatal(Object message) 
 public  void fatal(Object message,
    Throwable throwable) 
 public  void info(Object message) 
 public  void info(Object message,
    Throwable throwable) 
 public boolean isDebugEnabled() 
 public boolean isErrorEnabled() 
 public boolean isFatalEnabled() 
 public boolean isInfoEnabled() 
 public boolean isTraceEnabled() 
 public boolean isWarnEnabled() 
 public  void trace(Object message) 
 public  void trace(Object message,
    Throwable throwable) 
 public  void updateLevelInfo() 
 public  void warn(Object message) 
 public  void warn(Object message,
    Throwable throwable)