public class TomcatLogger extends Object implements org.apache.juli.logging.Log
| Constructor and Description |
|---|
TomcatLogger()
This constructor is used by ServiceLoader to load an instance of the class.
|
TomcatLogger(String name)
This constructor is used by LogFactory to create a new Logger.
|
| Modifier and Type | Method and Description |
|---|---|
void |
debug(Object o) |
void |
debug(Object o,
Throwable throwable) |
void |
error(Object o) |
void |
error(Object o,
Throwable throwable) |
void |
fatal(Object o) |
void |
fatal(Object o,
Throwable throwable) |
void |
info(Object o) |
void |
info(Object o,
Throwable throwable) |
boolean |
isDebugEnabled() |
boolean |
isErrorEnabled() |
boolean |
isFatalEnabled() |
boolean |
isInfoEnabled() |
boolean |
isTraceEnabled() |
boolean |
isWarnEnabled() |
void |
trace(Object o) |
void |
trace(Object o,
Throwable throwable) |
void |
warn(Object o) |
void |
warn(Object o,
Throwable throwable) |
public TomcatLogger()
public TomcatLogger(String name)
name - The name of the Logger.public boolean isDebugEnabled()
isDebugEnabled in interface org.apache.juli.logging.Logpublic boolean isErrorEnabled()
isErrorEnabled in interface org.apache.juli.logging.Logpublic boolean isFatalEnabled()
isFatalEnabled in interface org.apache.juli.logging.Logpublic boolean isInfoEnabled()
isInfoEnabled in interface org.apache.juli.logging.Logpublic boolean isTraceEnabled()
isTraceEnabled in interface org.apache.juli.logging.Logpublic boolean isWarnEnabled()
isWarnEnabled in interface org.apache.juli.logging.Logpublic void trace(Object o, Throwable throwable)
trace in interface org.apache.juli.logging.Logpublic void debug(Object o, Throwable throwable)
debug in interface org.apache.juli.logging.Logpublic void info(Object o, Throwable throwable)
info in interface org.apache.juli.logging.Logpublic void warn(Object o, Throwable throwable)
warn in interface org.apache.juli.logging.Logpublic void error(Object o, Throwable throwable)
error in interface org.apache.juli.logging.LogCopyright © 1999-2021 The Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.