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.Log
public boolean isErrorEnabled()
isErrorEnabled
in interface org.apache.juli.logging.Log
public boolean isFatalEnabled()
isFatalEnabled
in interface org.apache.juli.logging.Log
public boolean isInfoEnabled()
isInfoEnabled
in interface org.apache.juli.logging.Log
public boolean isTraceEnabled()
isTraceEnabled
in interface org.apache.juli.logging.Log
public boolean isWarnEnabled()
isWarnEnabled
in interface org.apache.juli.logging.Log
public void trace(Object o, Throwable throwable)
trace
in interface org.apache.juli.logging.Log
public void debug(Object o, Throwable throwable)
debug
in interface org.apache.juli.logging.Log
public void info(Object o, Throwable throwable)
info
in interface org.apache.juli.logging.Log
public void warn(Object o, Throwable throwable)
warn
in interface org.apache.juli.logging.Log
public void error(Object o, Throwable throwable)
error
in interface org.apache.juli.logging.Log
Copyright © 1999-1969 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.