Package org.apache.logging.log4j.jcl
Class Log4jLog
- java.lang.Object
-
- org.apache.logging.log4j.jcl.Log4jLog
-
- All Implemented Interfaces:
Serializable
,org.apache.commons.logging.Log
public class Log4jLog extends Object implements org.apache.commons.logging.Log, Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Log4jLog(ExtendedLogger logger)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
debug(Object message)
void
debug(Object message, Throwable t)
void
error(Object message)
void
error(Object message, Throwable t)
void
fatal(Object message)
void
fatal(Object message, Throwable t)
void
info(Object message)
void
info(Object message, Throwable t)
boolean
isDebugEnabled()
boolean
isErrorEnabled()
boolean
isFatalEnabled()
boolean
isInfoEnabled()
boolean
isTraceEnabled()
boolean
isWarnEnabled()
void
trace(Object message)
void
trace(Object message, Throwable t)
void
warn(Object message)
void
warn(Object message, Throwable t)
-
-
-
Constructor Detail
-
Log4jLog
public Log4jLog(ExtendedLogger logger)
-
-
Method Detail
-
isDebugEnabled
public boolean isDebugEnabled()
- Specified by:
isDebugEnabled
in interfaceorg.apache.commons.logging.Log
-
isErrorEnabled
public boolean isErrorEnabled()
- Specified by:
isErrorEnabled
in interfaceorg.apache.commons.logging.Log
-
isFatalEnabled
public boolean isFatalEnabled()
- Specified by:
isFatalEnabled
in interfaceorg.apache.commons.logging.Log
-
isInfoEnabled
public boolean isInfoEnabled()
- Specified by:
isInfoEnabled
in interfaceorg.apache.commons.logging.Log
-
isTraceEnabled
public boolean isTraceEnabled()
- Specified by:
isTraceEnabled
in interfaceorg.apache.commons.logging.Log
-
isWarnEnabled
public boolean isWarnEnabled()
- Specified by:
isWarnEnabled
in interfaceorg.apache.commons.logging.Log
-
trace
public void trace(Object message)
- Specified by:
trace
in interfaceorg.apache.commons.logging.Log
-
trace
public void trace(Object message, Throwable t)
- Specified by:
trace
in interfaceorg.apache.commons.logging.Log
-
debug
public void debug(Object message)
- Specified by:
debug
in interfaceorg.apache.commons.logging.Log
-
debug
public void debug(Object message, Throwable t)
- Specified by:
debug
in interfaceorg.apache.commons.logging.Log
-
info
public void info(Object message)
- Specified by:
info
in interfaceorg.apache.commons.logging.Log
-
info
public void info(Object message, Throwable t)
- Specified by:
info
in interfaceorg.apache.commons.logging.Log
-
warn
public void warn(Object message)
- Specified by:
warn
in interfaceorg.apache.commons.logging.Log
-
warn
public void warn(Object message, Throwable t)
- Specified by:
warn
in interfaceorg.apache.commons.logging.Log
-
error
public void error(Object message)
- Specified by:
error
in interfaceorg.apache.commons.logging.Log
-
error
public void error(Object message, Throwable t)
- Specified by:
error
in interfaceorg.apache.commons.logging.Log
-
fatal
public void fatal(Object message)
- Specified by:
fatal
in interfaceorg.apache.commons.logging.Log
-
-