Uses of Interface
io.dropwizard.logging.common.layout.DiscoverableLayoutFactory
-
Packages that use DiscoverableLayoutFactory Package Description io.dropwizard.logging.common io.dropwizard.logging.json -
-
Uses of DiscoverableLayoutFactory in io.dropwizard.logging.common
Fields in io.dropwizard.logging.common declared as DiscoverableLayoutFactory Modifier and Type Field Description protected @Nullable @Valid DiscoverableLayoutFactory<E>
AbstractAppenderFactory. layout
Methods in io.dropwizard.logging.common that return DiscoverableLayoutFactory Modifier and Type Method Description @Nullable DiscoverableLayoutFactory<?>
AbstractAppenderFactory. getLayout()
Methods in io.dropwizard.logging.common with parameters of type DiscoverableLayoutFactory Modifier and Type Method Description static void
BootstrapLogging. bootstrap(ch.qos.logback.classic.Level level, DiscoverableLayoutFactory<ch.qos.logback.classic.spi.ILoggingEvent> layoutFactory)
void
AbstractAppenderFactory. setLayout(@Nullable DiscoverableLayoutFactory<E> layout)
-
Uses of DiscoverableLayoutFactory in io.dropwizard.logging.json
Classes in io.dropwizard.logging.json that implement DiscoverableLayoutFactory Modifier and Type Class Description class
AbstractJsonLayoutBaseFactory<E extends ch.qos.logback.core.spi.DeferredProcessingAware>
Name Default DescriptiontimestampFormat
(none) By default, the timestamp is not formatted; To format the timestamp using set the property with the correspondingDateTimeFormatter
string, for example,yyyy-MM-ddTHH:mm:ss.SSSZ
prettyPrint
false
Whether the JSON output should be formatted for human readability.appendLineSeparator
true
Whether to append a line separator at the end of the message formatted as JSON.customFieldNames
empty A map of field name replacements.class
AccessJsonLayoutBaseFactory
Name Default Descriptionincludes
(timestamp, remoteAddress,requestTime, requestUri, statusCode, method, protocol, contentLength, userAgent)) Set of logging event attributes to include in the JSON map.requestHeaders
(empty) Set of request headers included in the JSON map as the ``headers`` field.responseHeaders
(empty) Set of response headers included in the JSON map as the ``responseHeaders`` field.class
EventJsonLayoutBaseFactory
Name Default Descriptionincludes
(level, threadName, mdc, loggerName, message, exception, timestamp, callerData) Set of logging event attributes to include in the JSON map.includesMdcKeys
(empty) Set of MDC keys which should be included in the JSON map.
-