public final class LogbackFactory extends Object
Appender instances.| Modifier and Type | Method and Description |
|---|---|
static me.moocar.logbackgelf.GelfAppender |
buildGelfAppender(GelfConfiguration gelf,
ch.qos.logback.classic.LoggerContext context)
Build a
GelfAppender from the supplied GelfConfiguration. |
static me.moocar.logbackgelf.GelfAppender |
buildGelfAppender(GelfConfiguration gelf,
ch.qos.logback.classic.LoggerContext context,
String facility)
Build a
GelfAppender from the supplied GelfConfiguration. |
public static me.moocar.logbackgelf.GelfAppender buildGelfAppender(GelfConfiguration gelf, ch.qos.logback.classic.LoggerContext context, String facility)
GelfAppender from the supplied GelfConfiguration.gelf - The configuration for the GelfAppendercontext - The logger contextfacility - The name to use as log facilityAppenderpublic static me.moocar.logbackgelf.GelfAppender buildGelfAppender(GelfConfiguration gelf, ch.qos.logback.classic.LoggerContext context)
GelfAppender from the supplied GelfConfiguration.gelf - The configuration for the GelfAppendercontext - The logger contextAppenderCopyright © 2014. All rights reserved.