Uses of Interface
org.apache.avalon.framework.logger.Logger
-
Packages that use Logger Package Description org.apache.avalon.framework.container Utilities supporting execution of component lifecycle stages.org.apache.avalon.framework.logger Abstract logging framework supporting pluggable logging mechanisms including LogKit, Log4J and the JDK 1.4 logging infrastructure. -
-
Uses of Logger in org.apache.avalon.framework.container
Methods in org.apache.avalon.framework.container with parameters of type Logger Modifier and Type Method Description static void
ContainerUtil. enableLogging(java.lang.Object object, Logger logger)
Supply specified object with Logger if it implements theLogEnabled
interface. -
Uses of Logger in org.apache.avalon.framework.logger
Classes in org.apache.avalon.framework.logger that implement Logger Modifier and Type Class Description class
CommonsLogger
An AvalonLogger
implementation backed by a of commons lLogging.class
ConsoleLogger
Logger sending everything to the standard output streams.class
Jdk14Logger
The default JDK 1.4 wrapper class for Logger.class
Log4JLogger
The default Log4J wrapper class for Logger.class
LogKitLogger
The default LogKit wrapper class for Logger.class
NullLogger
The Null Logger class.Fields in org.apache.avalon.framework.logger declared as Logger Modifier and Type Field Description private Logger
AbstractLogEnabled. m_logger
protected Logger
LoggerAwareOutputStream. m_logger
Logger
referenceprivate Logger
LogKit2AvalonLoggerAdapter. m_logger
The Avalon Logger that we re-route to.Methods in org.apache.avalon.framework.logger that return Logger Modifier and Type Method Description Logger
CommonsLogger. getChildLogger(java.lang.String name)
Logger
ConsoleLogger. getChildLogger(java.lang.String name)
Just returns this logger (ConsoleLogger
is not hierarchical).Logger
Jdk14Logger. getChildLogger(java.lang.String name)
Create a new child logger.Logger
Log4JLogger. getChildLogger(java.lang.String name)
Create a new child logger.Logger
Logger. getChildLogger(java.lang.String name)
Create a new child logger.Logger
LogKitLogger. getChildLogger(java.lang.String name)
Create a new child logger.Logger
NullLogger. getChildLogger(java.lang.String name)
Returns thisNullLogger
.protected Logger
AbstractLogEnabled. getLogger()
Helper method to allow sub-classes to aquire logger.Methods in org.apache.avalon.framework.logger with parameters of type Logger Modifier and Type Method Description static org.apache.log.Logger
LogKit2AvalonLoggerAdapter. createLogger(Logger logger)
Create a LogkitLogger
instance that redirects to an AvalonLogger
instance.void
AbstractLogEnabled. enableLogging(Logger logger)
Set the components logger.void
LogEnabled. enableLogging(Logger logger)
Provide component with a logger.protected void
AbstractLogEnabled. setupLogger(java.lang.Object component, Logger logger)
Helper method to setup other components with logger.Constructors in org.apache.avalon.framework.logger with parameters of type Logger Constructor Description LoggerAwareOutputStream(Logger logger)
Constructor, creates instance of class.LogKit2AvalonLoggerAdapter(Logger logger)
Constructor for an Adaptor.
-