net.sourceforge.acelogger
Class GenericLogger

java.lang.Object
  extended by net.sourceforge.acelogger.BaseLogger
      extended by net.sourceforge.acelogger.GenericLogger
All Implemented Interfaces:
Identifiable, Logger

public class GenericLogger
extends BaseLogger

A Logger "container", this class should be used if you want to specify each component of a logger.

Since:
1.0.0
Version:
1.0.0
Author:
Zardi (https://sourceforge.net/users/daniel_zardi)

Constructor Summary
GenericLogger(String identifier, Appender appender, LevelFilter filter, LocationGatherer gatherer)
          Constructs a GenericLogger using the supplied information.
 
Method Summary
 
Methods inherited from class net.sourceforge.acelogger.BaseLogger
debug, debug, error, error, fatal, fatal, generateLogCall, generateLogCall, generateLogCall, getAppender, getGatherer, getIdentifier, getThreshold, info, info, isDebugEnabled, isErrorEnabled, isFatalEnabled, isInfoEnabled, isTraceEnabled, isWarnEnabled, setGatherer, setThreshold, trace, trace, warn, warn
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GenericLogger

public GenericLogger(String identifier,
                     Appender appender,
                     LevelFilter filter,
                     LocationGatherer gatherer)
Constructs a GenericLogger using the supplied information.

Parameters:
identifier - The identifier of this logger.
appender - The appender used to log calls.
filter - The level filter used to determine if a call is suitable for logging or not.
gatherer - The location gatherer responsible for generation of caller information.
Since:
1.0.0


Copyright © 2007-2010 The AceLogger Team. All Rights Reserved.