io.dropwizard.logging.async.AsyncLoggingEventAppenderFactory Maven / Gradle / Ivy
package io.dropwizard.logging.async;
import ch.qos.logback.classic.AsyncAppender;
import ch.qos.logback.classic.spi.ILoggingEvent;
import ch.qos.logback.core.AsyncAppenderBase;
/**
* An implementation of {@link AsyncAppenderFactory} for {@link ILoggingEvent}.
*/
public class AsyncLoggingEventAppenderFactory implements AsyncAppenderFactory {
/**
* Creates an {@link AsyncAppenderFactory} of type {@link ILoggingEvent}
* @return the {@link AsyncAppenderFactory}
*/
@Override
public AsyncAppenderBase build() {
return new AsyncAppender();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy