com.logentries.jenkins
Class LogentriesLogDecorator

java.lang.Object
  extended by java.io.OutputStream
      extended by hudson.console.LineTransformationOutputStream
          extended by com.logentries.jenkins.LogentriesLogDecorator
All Implemented Interfaces:
Closeable, Flushable

public class LogentriesLogDecorator
extends hudson.console.LineTransformationOutputStream


Constructor Summary
LogentriesLogDecorator(OutputStream os, LogentriesWriter leWriter)
          Constructor
 
Method Summary
 void close()
           
protected  void eol(byte[] bytes, int length)
          Called when the end of a line is reached.
 
Methods inherited from class hudson.console.LineTransformationOutputStream
forceEol, trimEOL, write, write
 
Methods inherited from class java.io.OutputStream
flush, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LogentriesLogDecorator

public LogentriesLogDecorator(OutputStream os,
                              LogentriesWriter leWriter)
                       throws UnknownHostException,
                              IOException
Constructor

Parameters:
os - The OutputStream to decorate
Throws:
IOException
UnknownHostException
Method Detail

eol

protected void eol(byte[] bytes,
                   int length)
Called when the end of a line is reached.

Specified by:
eol in class hudson.console.LineTransformationOutputStream

close

public void close()
           throws IOException
Specified by:
close in interface Closeable
Overrides:
close in class hudson.console.LineTransformationOutputStream
Throws:
IOException


Copyright © 2004-2013. All Rights Reserved.