org.apache.openejb.util
Class LogStreamAsync

java.lang.Object
  extended by org.apache.openejb.util.LogStreamAsync
All Implemented Interfaces:
Closeable, LogStream

public class LogStreamAsync
extends Object
implements LogStream, Closeable


Constructor Summary
LogStreamAsync(LogStream ls)
           
 
Method Summary
 void close()
           
 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 log(org.apache.openejb.util.LogStreamAsync.level l, String s)
           
 void log(org.apache.openejb.util.LogStreamAsync.level l, String s, Throwable t)
           
 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

LogStreamAsync

public LogStreamAsync(LogStream ls)
Method Detail

close

public void close()
           throws IOException
Specified by:
close in interface Closeable
Throws:
IOException

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

log

public void log(org.apache.openejb.util.LogStreamAsync.level l,
                String s)

log

public void log(org.apache.openejb.util.LogStreamAsync.level l,
                String s,
                Throwable t)


Copyright © 1999–2015 The Apache Software Foundation. All rights reserved.