org.apache.openejb.util
Class Slf4jLogStream

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

public class Slf4jLogStream
extends Object
implements LogStream

Log the output to Slf4j


Constructor Summary
Slf4jLogStream(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
 

Constructor Detail

Slf4jLogStream

public Slf4jLogStream(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-2012 The Apache Software Foundation. All Rights Reserved.