|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.logentries.jenkins.LogentriesTcpTokenWriter
public class LogentriesTcpTokenWriter
Writes lines to Logentries using the Token TCP input
| Constructor Summary | |
|---|---|
LogentriesTcpTokenWriter(String token)
Constructor |
|
| Method Summary | |
|---|---|
void |
close()
Closes this writer. |
void |
writeLogentry(String line)
Write the given line to Logentries. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LogentriesTcpTokenWriter(String token)
throws IOException
token - The token for the logfile
IOException - If there was a problem connecting to logentries.| Method Detail |
|---|
public void writeLogentry(String line)
throws IOException
writeLogentry in interface LogentriesWriterline - The line to write.
IOException - If there was a problem writing the line.public void close()
close in interface LogentriesWriter
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||