com.flat502.rox.log
Class StreamLog

java.lang.Object
  extended by com.flat502.rox.log.AbstractLog
      extended by com.flat502.rox.log.StreamLog
All Implemented Interfaces:
Log

public class StreamLog
extends AbstractLog

A Log implementation backed by an a OutputStream.


Constructor Summary
StreamLog(java.io.OutputStream os, Level level)
           
 
Method Summary
protected  void debugImpl(java.lang.String msg, java.lang.Throwable e)
           
protected  void errorImpl(java.lang.String msg, java.lang.Throwable e)
           
protected  void infoImpl(java.lang.String msg, java.lang.Throwable e)
           
protected  void traceImpl(java.lang.String msg, java.lang.Throwable e)
           
protected  void warnImpl(java.lang.String msg, java.lang.Throwable e)
           
 
Methods inherited from class com.flat502.rox.log.AbstractLog
debug, debug, error, error, info, info, logDebug, logError, logInfo, logTrace, logWarn, trace, trace, warn, warn
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StreamLog

public StreamLog(java.io.OutputStream os,
                 Level level)
Method Detail

traceImpl

protected void traceImpl(java.lang.String msg,
                         java.lang.Throwable e)
Specified by:
traceImpl in class AbstractLog

debugImpl

protected void debugImpl(java.lang.String msg,
                         java.lang.Throwable e)
Specified by:
debugImpl in class AbstractLog

infoImpl

protected void infoImpl(java.lang.String msg,
                        java.lang.Throwable e)
Specified by:
infoImpl in class AbstractLog

warnImpl

protected void warnImpl(java.lang.String msg,
                        java.lang.Throwable e)
Specified by:
warnImpl in class AbstractLog

errorImpl

protected void errorImpl(java.lang.String msg,
                         java.lang.Throwable e)
Specified by:
errorImpl in class AbstractLog