me.moocar.logbackgelf
Class AppenderExecutor
java.lang.Object
me.moocar.logbackgelf.AppenderExecutor
public class AppenderExecutor
- extends Object
Converts a log event into a a payload or chunks and sends them to the graylog2-server
|
Method Summary |
void |
append(ch.qos.logback.classic.spi.ILoggingEvent logEvent)
The main append method. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AppenderExecutor
public AppenderExecutor(Transport transport,
PayloadChunker payloadChunker,
GelfConverter gelfConverter,
Zipper zipper,
int chunkThreshold)
append
public void append(ch.qos.logback.classic.spi.ILoggingEvent logEvent)
- The main append method. Takes the event that is being logged, formats if for GELF and then sends it over the wire
to the log server
- Parameters:
logEvent - The event that we are logging
Copyright © 2011-2014. All Rights Reserved.