org.apache.openejb.util
Class Log4jLogStream
java.lang.Object
org.apache.openejb.util.Log4jLogStream
- All Implemented Interfaces:
- LogStream
public class Log4jLogStream
- extends Object
- implements LogStream
Field Summary |
protected org.apache.log4j.Logger |
logger
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
protected org.apache.log4j.Logger logger
Log4jLogStream
public Log4jLogStream(LogCategory logCategory)
isFatalEnabled
public boolean isFatalEnabled()
- Specified by:
isFatalEnabled
in interface LogStream
fatal
public void fatal(String message)
- Specified by:
fatal
in interface LogStream
fatal
public void fatal(String message,
Throwable t)
- Specified by:
fatal
in interface LogStream
isErrorEnabled
public boolean isErrorEnabled()
- Specified by:
isErrorEnabled
in interface LogStream
error
public void error(String message)
- Specified by:
error
in interface LogStream
error
public void error(String message,
Throwable t)
- Specified by:
error
in interface LogStream
isWarnEnabled
public boolean isWarnEnabled()
- Specified by:
isWarnEnabled
in interface LogStream
warn
public void warn(String message)
- Specified by:
warn
in interface LogStream
warn
public void warn(String message,
Throwable t)
- Specified by:
warn
in interface LogStream
isInfoEnabled
public boolean isInfoEnabled()
- Specified by:
isInfoEnabled
in interface LogStream
info
public void info(String message)
- Specified by:
info
in interface LogStream
info
public void info(String message,
Throwable t)
- Specified by:
info
in interface LogStream
isDebugEnabled
public boolean isDebugEnabled()
- Specified by:
isDebugEnabled
in interface LogStream
debug
public void debug(String message)
- Specified by:
debug
in interface LogStream
debug
public void debug(String message,
Throwable t)
- Specified by:
debug
in interface LogStream
Copyright © 1999-2013 The Apache OpenEJB development community. All Rights Reserved.