JTools

org.jtools.logging
Class DelegatedLogger

java.lang.Object
  extended by org.jtools.logging.AbstractLogger
      extended by org.jtools.logging.DelegatedLogger
All Implemented Interfaces:
org.jpattern.logging.Logger

public class DelegatedLogger
extends AbstractLogger


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.jpattern.logging.Logger
org.jpattern.logging.Logger.Support
 
Constructor Summary
DelegatedLogger(org.jpattern.logging.LogFactory factory, org.jpattern.logging.Logger delegator)
           
 
Method Summary
 void forceLog(org.jpattern.logging.Loggable logRecord)
           
 boolean isLoggable(org.jpattern.logging.Level level)
           
 org.jpattern.logging.Loggable newLogRecord(org.jpattern.logging.Level level, String sourceClassName, String sourceMethodName, ResourceBundle resourceBundle, String resourceBundleName, long millis, int threadID, Throwable cause, Object msg, Object... params)
           
 
Methods inherited from class org.jtools.logging.AbstractLogger
getFactory, getTraceFilter, isLoggable, log, log, logp, logrb, setTraceFilter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DelegatedLogger

public DelegatedLogger(org.jpattern.logging.LogFactory factory,
                       org.jpattern.logging.Logger delegator)
Method Detail

forceLog

public void forceLog(org.jpattern.logging.Loggable logRecord)
Specified by:
forceLog in interface org.jpattern.logging.Logger
Specified by:
forceLog in class AbstractLogger

isLoggable

public boolean isLoggable(org.jpattern.logging.Level level)
Specified by:
isLoggable in interface org.jpattern.logging.Logger
Specified by:
isLoggable in class AbstractLogger

newLogRecord

public org.jpattern.logging.Loggable newLogRecord(org.jpattern.logging.Level level,
                                                  String sourceClassName,
                                                  String sourceMethodName,
                                                  ResourceBundle resourceBundle,
                                                  String resourceBundleName,
                                                  long millis,
                                                  int threadID,
                                                  Throwable cause,
                                                  Object msg,
                                                  Object... params)

JTools

© 2000-2006, JTools.org.