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 aDropwizardLayout
-
-
Constructor Summary
Constructors Constructor Description DropwizardLayoutFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ch.qos.logback.core.pattern.PatternLayoutBase<ch.qos.logback.classic.spi.ILoggingEvent>
build(ch.qos.logback.classic.LoggerContext context, TimeZone timeZone)
Creates aPatternLayoutBase
of type E
-
-
-
Method Detail
-
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
-
-