|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.tomcat.util.log.LogHandler
org.apache.tomcat.util.log.CommonLogHandler
Log using common-logging.
| Field Summary |
| Fields inherited from class org.apache.tomcat.util.log.LogHandler |
defaultSink, level, sink |
| Constructor Summary | |
CommonLogHandler()
|
|
| Method Summary | |
void |
close()
Close the log. |
void |
flush()
Flush the log. |
void |
log(java.lang.String prefix,
java.lang.String msg,
java.lang.Throwable t,
int verbosityLevel)
Prints log message and stack trace. |
| Methods inherited from class org.apache.tomcat.util.log.LogHandler |
getLevel, setDefaultSink, setLevel |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public CommonLogHandler()
| Method Detail |
public void log(java.lang.String prefix,
java.lang.String msg,
java.lang.Throwable t,
int verbosityLevel)
log in class LogHandlerprefix - optional prefix.t - the exception that was thrown.verbosityLevel - what type of message is this?
(WARNING/DEBUG/INFO etc)public void flush()
flush in class LogHandlerpublic void close()
close in class LogHandler
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||