- AbstractJsonLayout<E> - Class in io.dropwizard.logging.json.layout
-
Provides the common functionality for building JSON representations
of IAccessEvent
and ILoggingEvent
events.
- AbstractJsonLayout(JsonFormatter) - Constructor for class io.dropwizard.logging.json.layout.AbstractJsonLayout
-
- AbstractJsonLayoutBaseFactory<E extends ch.qos.logback.core.spi.DeferredProcessingAware> - Class in io.dropwizard.logging.json
-
Name
Default
Description
timestampFormat
(none)
By default, the timestamp is not formatted; To format the timestamp using set the property with the
corresponding DateTimeFormatter
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.
- AbstractJsonLayoutBaseFactory() - Constructor for class io.dropwizard.logging.json.AbstractJsonLayoutBaseFactory
-
- AccessAttribute - Enum in io.dropwizard.logging.json
-
Represents access logging attributes.
- AccessJsonLayout - Class in io.dropwizard.logging.json.layout
-
Builds JSON messages from access log events as IAccessEvent
.
- AccessJsonLayout(JsonFormatter, TimestampFormatter, Set<AccessAttribute>, Map<String, String>, Map<String, Object>) - Constructor for class io.dropwizard.logging.json.layout.AccessJsonLayout
-
- AccessJsonLayoutBaseFactory - Class in io.dropwizard.logging.json
-
Name
Default
Description
includes
(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.
- AccessJsonLayoutBaseFactory() - Constructor for class io.dropwizard.logging.json.AccessJsonLayoutBaseFactory
-
- add(String, boolean, Number) - Method in class io.dropwizard.logging.json.layout.MapBuilder
-
Adds the number to the provided map under the provided field name if it's should be included.
- add(String, boolean, String) - Method in class io.dropwizard.logging.json.layout.MapBuilder
-
Adds the string value to the provided map under the provided field name,
if it's should be included.
- add(String, boolean, Map<String, ?>) - Method in class io.dropwizard.logging.json.layout.MapBuilder
-
Adds the map to the provided map under the provided field name if it's should be included.
- addTimestamp(String, boolean, long) - Method in class io.dropwizard.logging.json.layout.MapBuilder
-
Adds and optionally formats the timestamp to the provided map under the provided field name,
if it's should be included.