com.agido.logback.elasticsearch.util.ClassicPropertyAndEncoder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of logback-elasticsearch-appender Show documentation
Show all versions of logback-elasticsearch-appender Show documentation
Send log events directly from Logback to Elasticsearch
The newest version!
package com.agido.logback.elasticsearch.util;
import ch.qos.logback.classic.PatternLayout;
import ch.qos.logback.classic.spi.ILoggingEvent;
import ch.qos.logback.core.Context;
import ch.qos.logback.core.pattern.PatternLayoutBase;
import com.agido.logback.elasticsearch.config.Property;
public class ClassicPropertyAndEncoder extends AbstractPropertyAndEncoder {
public ClassicPropertyAndEncoder(Property property, Context context) {
super(property, context);
}
@Override
protected PatternLayoutBase getLayout() {
return new PatternLayout();
}
}