ch.qos.logback.core.spi.AppenderAttachableImpl Java Examples

The following examples show how to use ch.qos.logback.core.spi.AppenderAttachableImpl. 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: KonkerLogger.java    From konker-platform with Apache License 2.0 5 votes vote down vote up
public synchronized void addAppender(Appender<ILoggingEvent> newAppender) {
    if(this.aai == null) {
        this.aai = new AppenderAttachableImpl();
    }

    this.aai.addAppender(newAppender);
}
 
Example #2
Source File: LogProducerTranslator.java    From NettyFileTransfer with Apache License 2.0 4 votes vote down vote up
@Override
public void translateTo(LogValueEvent event, long sequence,
		ILoggingEvent arg0, AppenderAttachableImpl<ILoggingEvent> arg1) {
	event.setEventObject(arg0);
	event.setParent(arg1);
}
 
Example #3
Source File: LogValueEvent.java    From NettyFileTransfer with Apache License 2.0 4 votes vote down vote up
public AppenderAttachableImpl<ILoggingEvent> getParent() {
	return parent;
}
 
Example #4
Source File: LogValueEvent.java    From NettyFileTransfer with Apache License 2.0 4 votes vote down vote up
public void setParent(AppenderAttachableImpl<ILoggingEvent> parent) {
	this.parent = parent;
}
 
Example #5
Source File: LogProducerTranslator.java    From High-concurrent-server with Apache License 2.0 4 votes vote down vote up
@Override
public void translateTo(LogValueEvent event, long sequence,
		ILoggingEvent arg0, AppenderAttachableImpl<ILoggingEvent> arg1) {
	event.setEventObject(arg0);
	event.setParent(arg1);
}
 
Example #6
Source File: LogValueEvent.java    From High-concurrent-server with Apache License 2.0 4 votes vote down vote up
public AppenderAttachableImpl<ILoggingEvent> getParent() {
	return parent;
}
 
Example #7
Source File: LogValueEvent.java    From High-concurrent-server with Apache License 2.0 4 votes vote down vote up
public void setParent(AppenderAttachableImpl<ILoggingEvent> parent) {
	this.parent = parent;
}