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, 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 should be included.
add(String, boolean, Supplier<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 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.
addMap(String, boolean, Supplier<Map<String, ?>>) - Method in class io.dropwizard.logging.json.layout.MapBuilder
Adds the map value to the provided map under the provided field name, if it should be
included.
addNumber(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.
addNumber(String, boolean, Supplier<Number>) - Method in class io.dropwizard.logging.json.layout.MapBuilder
Adds the number value to the provided map under the provided field name,
if it 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.
B
- build(LoggerContext, TimeZone) - Method in class io.dropwizard.logging.json.AccessJsonLayoutBaseFactory
-
- build(LoggerContext, TimeZone) - Method in class io.dropwizard.logging.json.EventJsonLayoutBaseFactory
-
- build() - Method in class io.dropwizard.logging.json.layout.MapBuilder
-
C
- createDropwizardJsonFormatter() - Method in class io.dropwizard.logging.json.AbstractJsonLayoutBaseFactory
-
- createThrowableProxyConverter(LoggerContext) - Method in class io.dropwizard.logging.json.EventJsonLayoutBaseFactory
-
- createTimestampFormatter(TimeZone) - Method in class io.dropwizard.logging.json.AbstractJsonLayoutBaseFactory
-
D
- doLayout(E) - Method in class io.dropwizard.logging.json.layout.AbstractJsonLayout
-
E
- EventAttribute - Enum in io.dropwizard.logging.json
-
Represents event logging attributes.
- EventJsonLayout - Class in io.dropwizard.logging.json.layout
-
Builds JSON messages from logging events of the type ILoggingEvent.
- EventJsonLayout(JsonFormatter, TimestampFormatter, ThrowableHandlingConverter, Set<EventAttribute>, Map<String, String>, Map<String, Object>, Set<String>, boolean) - Constructor for class io.dropwizard.logging.json.layout.EventJsonLayout
-
- EventJsonLayoutBaseFactory - Class in io.dropwizard.logging.json
-
Name
Default
Description
includes
(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.
- EventJsonLayoutBaseFactory() - Constructor for class io.dropwizard.logging.json.EventJsonLayoutBaseFactory
-
- ExceptionFormat - Class in io.dropwizard.logging.json.layout
-
- ExceptionFormat() - Constructor for class io.dropwizard.logging.json.layout.ExceptionFormat
-
F
- format(long) - Method in class io.dropwizard.logging.json.layout.TimestampFormatter
-
G
- getAdditionalFields() - Method in class io.dropwizard.logging.json.AbstractJsonLayoutBaseFactory
-
- getCustomFieldNames() - Method in class io.dropwizard.logging.json.AbstractJsonLayoutBaseFactory
-
- getDepth() - Method in class io.dropwizard.logging.json.layout.ExceptionFormat
-
- getEvaluators() - Method in class io.dropwizard.logging.json.layout.ExceptionFormat
-
- getExceptionFormat() - Method in class io.dropwizard.logging.json.EventJsonLayoutBaseFactory
-
- getIncludes() - Method in class io.dropwizard.logging.json.AccessJsonLayoutBaseFactory
-
- getIncludes() - Method in class io.dropwizard.logging.json.EventJsonLayoutBaseFactory
-
- getIncludes() - Method in class io.dropwizard.logging.json.layout.AccessJsonLayout
-
- getIncludes() - Method in class io.dropwizard.logging.json.layout.EventJsonLayout
-
- getIncludesMdcKeys() - Method in class io.dropwizard.logging.json.EventJsonLayoutBaseFactory
-
- getIncludesMdcKeys() - Method in class io.dropwizard.logging.json.layout.EventJsonLayout
-
- getJsonProtocolVersion() - Method in class io.dropwizard.logging.json.layout.AccessJsonLayout
-
- getJsonProtocolVersion() - Method in class io.dropwizard.logging.json.layout.EventJsonLayout
-
- getRequestAttributes() - Method in class io.dropwizard.logging.json.AccessJsonLayoutBaseFactory
-
- getRequestAttributes() - Method in class io.dropwizard.logging.json.layout.AccessJsonLayout
-
- getRequestHeaders() - Method in class io.dropwizard.logging.json.AccessJsonLayoutBaseFactory
-
- getRequestHeaders() - Method in class io.dropwizard.logging.json.layout.AccessJsonLayout
-
- getResponseHeaders() - Method in class io.dropwizard.logging.json.AccessJsonLayoutBaseFactory
-
- getResponseHeaders() - Method in class io.dropwizard.logging.json.layout.AccessJsonLayout
-
- getTimestampFormat() - Method in class io.dropwizard.logging.json.AbstractJsonLayoutBaseFactory
-
I
- io.dropwizard.logging.json - package io.dropwizard.logging.json
-
- io.dropwizard.logging.json.layout - package io.dropwizard.logging.json.layout
-
- isAppendLineSeparator() - Method in class io.dropwizard.logging.json.AbstractJsonLayoutBaseFactory
-
- isFlattenMdc() - Method in class io.dropwizard.logging.json.EventJsonLayoutBaseFactory
-
- isPrettyPrint() - Method in class io.dropwizard.logging.json.AbstractJsonLayoutBaseFactory
-
- isRootFirst() - Method in class io.dropwizard.logging.json.layout.ExceptionFormat
-
J
- JsonFormatter - Class in io.dropwizard.logging.json.layout
-
Formats objects to JSON strings according to the configured ObjectMapper and output parameters.
- JsonFormatter(ObjectMapper, boolean, boolean, int) - Constructor for class io.dropwizard.logging.json.layout.JsonFormatter
-
- JsonFormatter(ObjectMapper, boolean, boolean) - Constructor for class io.dropwizard.logging.json.layout.JsonFormatter
-
M
- MapBuilder - Class in io.dropwizard.logging.json.layout
-
Builds a Java map based on the provided configuration and customization.
- MapBuilder(TimestampFormatter, Map<String, String>, Map<String, Object>, int) - Constructor for class io.dropwizard.logging.json.layout.MapBuilder
-
S
- setAdditionalFields(Map<String, Object>) - Method in class io.dropwizard.logging.json.AbstractJsonLayoutBaseFactory
-
- setAppendLineSeparator(boolean) - Method in class io.dropwizard.logging.json.AbstractJsonLayoutBaseFactory
-
- setCustomFieldNames(Map<String, String>) - Method in class io.dropwizard.logging.json.AbstractJsonLayoutBaseFactory
-
- setDepth(String) - Method in class io.dropwizard.logging.json.layout.ExceptionFormat
-
- setEvaluators(List<String>) - Method in class io.dropwizard.logging.json.layout.ExceptionFormat
-
- setExceptionFormat(ExceptionFormat) - Method in class io.dropwizard.logging.json.EventJsonLayoutBaseFactory
-
- setFlattenMdc(boolean) - Method in class io.dropwizard.logging.json.EventJsonLayoutBaseFactory
-
- setIncludes(EnumSet<AccessAttribute>) - Method in class io.dropwizard.logging.json.AccessJsonLayoutBaseFactory
-
- setIncludes(EnumSet<EventAttribute>) - Method in class io.dropwizard.logging.json.EventJsonLayoutBaseFactory
-
- setIncludes(Set<AccessAttribute>) - Method in class io.dropwizard.logging.json.layout.AccessJsonLayout
-
- setIncludes(Set<EventAttribute>) - Method in class io.dropwizard.logging.json.layout.EventJsonLayout
-
- setIncludesMdcKeys(Set<String>) - Method in class io.dropwizard.logging.json.EventJsonLayoutBaseFactory
-
- setIncludesMdcKeys(Set<String>) - Method in class io.dropwizard.logging.json.layout.EventJsonLayout
-
- setJsonProtocolVersion(String) - Method in class io.dropwizard.logging.json.layout.AccessJsonLayout
-
- setJsonProtocolVersion(String) - Method in class io.dropwizard.logging.json.layout.EventJsonLayout
-
- setPrettyPrint(boolean) - Method in class io.dropwizard.logging.json.AbstractJsonLayoutBaseFactory
-
- setRequestAttributes(Set<String>) - Method in class io.dropwizard.logging.json.AccessJsonLayoutBaseFactory
-
- setRequestAttributes(Set<String>) - Method in class io.dropwizard.logging.json.layout.AccessJsonLayout
-
- setRequestHeaders(Set<String>) - Method in class io.dropwizard.logging.json.AccessJsonLayoutBaseFactory
-
- setRequestHeaders(Set<String>) - Method in class io.dropwizard.logging.json.layout.AccessJsonLayout
-
- setResponseHeaders(Set<String>) - Method in class io.dropwizard.logging.json.AccessJsonLayoutBaseFactory
-
- setResponseHeaders(Set<String>) - Method in class io.dropwizard.logging.json.layout.AccessJsonLayout
-
- setRootFirst(boolean) - Method in class io.dropwizard.logging.json.layout.ExceptionFormat
-
- setTimestampFormat(String) - Method in class io.dropwizard.logging.json.AbstractJsonLayoutBaseFactory
-
- start() - Method in class io.dropwizard.logging.json.layout.EventJsonLayout
-
- stop() - Method in class io.dropwizard.logging.json.layout.EventJsonLayout
-
T
- TimestampFormatter - Class in io.dropwizard.logging.json.layout
-
A faster timestamp formatter than the default one in Logback.
- TimestampFormatter(String, ZoneId) - Constructor for class io.dropwizard.logging.json.layout.TimestampFormatter
-
- toJson(Map<String, Object>) - Method in class io.dropwizard.logging.json.layout.JsonFormatter
-
Converts the provided map as a JSON object according to the configured JSON mapper.
- toJsonMap(E) - Method in class io.dropwizard.logging.json.layout.AbstractJsonLayout
-
Converts the provided logging event to a generic Map
- toJsonMap(IAccessEvent) - Method in class io.dropwizard.logging.json.layout.AccessJsonLayout
-
- toJsonMap(ILoggingEvent) - Method in class io.dropwizard.logging.json.layout.EventJsonLayout
-
V
- valueOf(String) - Static method in enum io.dropwizard.logging.json.AccessAttribute
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum io.dropwizard.logging.json.EventAttribute
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum io.dropwizard.logging.json.AccessAttribute
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum io.dropwizard.logging.json.EventAttribute
-
Returns an array containing the constants of this enum type, in
the order they are declared.
A B C D E F G I J M S T V
Copyright © 2011. All rights reserved.
|