org.apache.openejb.util
Class Log4jLogStream

java.lang.Object
  extended by org.apache.openejb.util.Log4jLogStream
All Implemented Interfaces:
LogStream

public class Log4jLogStream
extends Object
implements LogStream


Field Summary
protected  org.apache.log4j.Logger logger
           
 
Constructor Summary
Log4jLogStream(LogCategory logCategory)
           
 
Method Summary
 void debug(String message)
           
 void debug(String message, Throwable t)
           
 void error(String message)
           
 void error(String message, Throwable t)
           
 void fatal(String message)
           
 void fatal(String message, Throwable t)
           
 void info(String message)
           
 void info(String message, Throwable t)
           
 boolean isDebugEnabled()
           
 boolean isErrorEnabled()
           
 boolean isFatalEnabled()
           
 boolean isInfoEnabled()
           
 boolean isWarnEnabled()
           
 void warn(String message)
           
 void warn(String message, Throwable t)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

protected org.apache.log4j.Logger logger
Constructor Detail

Log4jLogStream

public Log4jLogStream(LogCategory logCategory)
Method Detail

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.