Package org.apache.catalina.logger
Class SystemOutLogger
- java.lang.Object
-
- org.apache.catalina.logger.LoggerBase
-
- org.apache.catalina.logger.SystemOutLogger
-
public class SystemOutLogger extends LoggerBase
Simple implementation of Logger that writes to System.out. Because this component is so simple, no configuration is required. Therefore, Lifecycle is not implemented.- Version:
- $Revision: 1.2 $ $Date: 2005/12/08 01:27:46 $
- Author:
- Craig R. McClanahan
-
-
Field Summary
Fields Modifier and Type Field Description protected static String
info
The descriptive information about this implementation.-
Fields inherited from class org.apache.catalina.logger.LoggerBase
container, controller, debug, lifecycle, log, oname, rb, support, verbosity
-
Fields inherited from interface org.apache.catalina.Lifecycle
AFTER_START_EVENT, AFTER_STOP_EVENT, BEFORE_START_EVENT, BEFORE_STOP_EVENT, INIT_EVENT, START_EVENT, STOP_EVENT
-
-
Constructor Summary
Constructors Constructor Description SystemOutLogger()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
log(String msg)
Writes the specified message to a servlet log file, usually an event log.-
Methods inherited from class org.apache.catalina.logger.LoggerBase
addHandler, addLifecycleListener, addPropertyChangeListener, createObjectName, destroy, findLifecycleListeners, getContainer, getController, getDebug, getInfo, getObjectName, getVerbosity, init, log, log, log, log, removeLifecycleListener, removePropertyChangeListener, setContainer, setController, setDebug, setLevel, setVerbosity, setVerbosityLevel, start, stop
-
-
-
-
Field Detail
-
info
protected static final String info
The descriptive information about this implementation.- See Also:
- Constant Field Values
-
-
Method Detail
-
log
public void log(String msg)
Writes the specified message to a servlet log file, usually an event log. The name and type of the servlet log is specific to the servlet container.- Specified by:
log
in interfaceLogger
- Overrides:
log
in classLoggerBase
- Parameters:
msg
- AString
specifying the message to be written to the log file
-
-