org.apache.cocoon.logger
Class ServletLogger
java.lang.Object
|
+--org.apache.cocoon.logger.AbstractLogger
|
+--org.apache.cocoon.logger.ServletLogger
- public class ServletLogger
- extends AbstractLogger
- implements Status
This class must be implemented by the services that implement logging
capabilities.
- Version:
- $Revision: 1.1 $ $Date: 2000/03/17 16:46:02 $
- Author:
- Stefano Mazzocchi
Constructor Summary |
ServletLogger(javax.servlet.ServletContext context,
java.lang.String level)
|
Method Summary |
java.lang.String |
getStatus()
Returns information about the status of the implementing class.
|
protected void |
log(java.lang.Exception exception,
java.lang.String message)
|
protected void |
log(java.lang.String message)
|
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
ServletLogger
public ServletLogger(javax.servlet.ServletContext context,
java.lang.String level)
log
protected void log(java.lang.String message)
- Overrides:
- log in class AbstractLogger
log
protected void log(java.lang.Exception exception,
java.lang.String message)
- Overrides:
- log in class AbstractLogger
getStatus
public java.lang.String getStatus()
- Description copied from interface: Status
- Returns information about the status of the implementing class.
Note: this is use instead of the usual
toString()
method because some of these methods are declared final in some
classes in JDK 1.1.
- Specified by:
- getStatus in interface Status
Copyright © 1999-2000 Apache Software Foundation. All Rights Reserved.