Java Code Examples for ch.qos.logback.classic.spi.ILoggingEvent#prepareForDeferredProcessing()

The following examples show how to use ch.qos.logback.classic.spi.ILoggingEvent#prepareForDeferredProcessing() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: AwsLogAppender.java    From cloudwatch-logback-appender with Apache License 2.0 5 votes vote down vote up
@Override
protected void append(ILoggingEvent event) {

    AwsCWEventDump queue = dump;
    if (dump != null) {
        event.prepareForDeferredProcessing();
        dump.queue(event);
    }

}
 
Example 2
Source File: TestAppender.java    From ci-droid with Apache License 2.0 4 votes vote down vote up
@Override
protected void append(ILoggingEvent e) {
    e.prepareForDeferredProcessing();
    events.add(e);
}
 
Example 3
Source File: AsyncAppender.java    From bither-desktop-java with Apache License 2.0 4 votes vote down vote up
@Override
protected void append(ILoggingEvent eventObject) {
    eventObject.prepareForDeferredProcessing();
    queue.add(eventObject);
}
 
Example 4
Source File: DisruptorLogAppender.java    From NettyFileTransfer with Apache License 2.0 4 votes vote down vote up
protected void preprocess(ILoggingEvent eventObject) {
	eventObject.prepareForDeferredProcessing();
	if (includeCallerData)
		eventObject.getCallerData();
}
 
Example 5
Source File: DisruptorLogAppender.java    From High-concurrent-server with Apache License 2.0 4 votes vote down vote up
protected void preprocess(ILoggingEvent eventObject) {
	eventObject.prepareForDeferredProcessing();
	if (includeCallerData)
		eventObject.getCallerData();
}
 
Example 6
Source File: AsyncAppender.java    From bither-desktop-java with Apache License 2.0 4 votes vote down vote up
@Override
protected void append(ILoggingEvent eventObject) {
    eventObject.prepareForDeferredProcessing();
    queue.add(eventObject);
}