org.webmacro.servlet
Class ServletLog
java.lang.Object
org.webmacro.util.AbstractLogFile
org.webmacro.servlet.ServletLog
- All Implemented Interfaces:
- LogTarget
- public class ServletLog
- extends AbstractLogFile
Implementation of AbstractLogFile which directs log information to
the servlet log.
- Since:
- 0.96
- Author:
- Brian Goetz
Method Summary |
void |
flush()
Flush the log. |
void |
log(java.util.Date date,
java.lang.String name,
java.lang.String level,
java.lang.String message,
java.lang.Throwable e)
Log out an event that just happened and which you have previously
accepted. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ServletLog
public ServletLog(javax.servlet.ServletContext sc,
Settings s)
log
public void log(java.util.Date date,
java.lang.String name,
java.lang.String level,
java.lang.String message,
java.lang.Throwable e)
- Description copied from interface:
LogTarget
- Log out an event that just happened and which you have previously
accepted.
flush
public void flush()
- Description copied from interface:
LogTarget
- Flush the log. This will be called after writing methods that
are notice, warning, or error messages.