Class DropwizardLayoutFactory
java.lang.Object
io.dropwizard.logging.common.layout.DropwizardLayoutFactory
- All Implemented Interfaces:
LayoutFactory<ch.qos.logback.classic.spi.ILoggingEvent>
public class DropwizardLayoutFactory
extends Object
implements LayoutFactory<ch.qos.logback.classic.spi.ILoggingEvent>
Factory that creates a
DropwizardLayout
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
DropwizardLayoutFactory
public DropwizardLayoutFactory()
-
-
Method Details
-
build
public ch.qos.logback.core.pattern.PatternLayoutBase<ch.qos.logback.classic.spi.ILoggingEvent> build(ch.qos.logback.classic.LoggerContext context, TimeZone timeZone) Description copied from interface:LayoutFactory
Creates aPatternLayoutBase
of type E- Specified by:
build
in interfaceLayoutFactory<ch.qos.logback.classic.spi.ILoggingEvent>
- Parameters:
context
- the Logback contexttimeZone
- the TimeZone- Returns:
- a new
PatternLayoutBase
-