org.apache.catalina.logger
public class: SystemOutLogger [javadoc |
source]
java.lang.Object
org.apache.catalina.logger.LoggerBase
org.apache.catalina.logger.SystemOutLogger
All Implemented Interfaces:
Logger, MBeanRegistration, Lifecycle
Simple implementation of
Logger that writes to System.out.
Because this component is so simple, no configuration is required.
Therefore, Lifecycle is not implemented.
- author:
Craig - R. McClanahan
- version:
$ - Revision: 1.3 $ $Date: 2007/05/05 05:32:09 $
| Field Summary |
|---|
| protected static final String | info | The descriptive information about this implementation. |
| Fields inherited from org.apache.catalina.logger.LoggerBase: |
|---|
| container, debug, info, lifecycle, support, verbosity, domain, host, path, oname, controller, mserver |
| Method from org.apache.catalina.logger.SystemOutLogger Summary: |
|---|
|
log |
| Methods from org.apache.catalina.logger.LoggerBase: |
|---|
|
addLifecycleListener, addPropertyChangeListener, createObjectName, destroy, findLifecycleListeners, getContainer, getController, getDebug, getDomain, getInfo, getObjectName, getVerbosity, init, log, log, log, log, log, postDeregister, postRegister, preDeregister, preRegister, removeLifecycleListener, removePropertyChangeListener, setContainer, setController, setDebug, setVerbosity, setVerbosityLevel, start, stop |
| Methods from java.lang.Object: |
|---|
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method from org.apache.catalina.logger.SystemOutLogger Detail: |
public void log(String msg) {
System.out.println(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. |