com.logentries.jenkins
Class LogentriesLogDecorator
java.lang.Object
java.io.OutputStream
hudson.console.LineTransformationOutputStream
com.logentries.jenkins.LogentriesLogDecorator
- All Implemented Interfaces:
- Closeable, Flushable
public class LogentriesLogDecorator
- extends hudson.console.LineTransformationOutputStream
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.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LogentriesLogDecorator
public LogentriesLogDecorator(OutputStream os,
LogentriesWriter leWriter)
throws UnknownHostException,
IOException
- Constructor
- Parameters:
os
- The OutputStream to decorate
- Throws:
IOException
UnknownHostException
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.