A B C D E F G I J L M P R S T U V
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- AbstractJsonLayout<E> - Class in io.dropwizard.logging.json.layout
-
Provides the common functionality for building JSON representations of
IAccessEvent
andILoggingEvent
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 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. - 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, 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() - Method in class io.dropwizard.logging.json.layout.MapBuilder
- build(LoggerContext, TimeZone) - Method in class io.dropwizard.logging.json.AccessJsonLayoutBaseFactory
- build(LoggerContext, TimeZone) - Method in class io.dropwizard.logging.json.EventJsonLayoutBaseFactory
C
- CALLER_DATA - io.dropwizard.logging.json.EventAttribute
- CONTENT_LENGTH - io.dropwizard.logging.json.AccessAttribute
- CONTEXT_NAME - io.dropwizard.logging.json.EventAttribute
- 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
- EXCEPTION - io.dropwizard.logging.json.EventAttribute
- 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) - Constructor for class io.dropwizard.logging.json.layout.JsonFormatter
- JsonFormatter(ObjectMapper, boolean, boolean, int) - Constructor for class io.dropwizard.logging.json.layout.JsonFormatter
L
- LEVEL - io.dropwizard.logging.json.EventAttribute
- LOCAL_PORT - io.dropwizard.logging.json.AccessAttribute
- LOGGER_NAME - io.dropwizard.logging.json.EventAttribute
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
- MARKER - io.dropwizard.logging.json.EventAttribute
- MDC - io.dropwizard.logging.json.EventAttribute
- MESSAGE - io.dropwizard.logging.json.EventAttribute
- METHOD - io.dropwizard.logging.json.AccessAttribute
P
- PATH_QUERY - io.dropwizard.logging.json.AccessAttribute
- PROTOCOL - io.dropwizard.logging.json.AccessAttribute
R
- REMOTE_ADDRESS - io.dropwizard.logging.json.AccessAttribute
- REMOTE_HOST - io.dropwizard.logging.json.AccessAttribute
- REMOTE_USER - io.dropwizard.logging.json.AccessAttribute
- REQUEST_CONTENT - io.dropwizard.logging.json.AccessAttribute
- REQUEST_PARAMETERS - io.dropwizard.logging.json.AccessAttribute
- REQUEST_TIME - io.dropwizard.logging.json.AccessAttribute
- REQUEST_URI - io.dropwizard.logging.json.AccessAttribute
- REQUEST_URL - io.dropwizard.logging.json.AccessAttribute
- RESPONSE_CONTENT - io.dropwizard.logging.json.AccessAttribute
S
- SERVER_NAME - io.dropwizard.logging.json.AccessAttribute
- 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
- STATUS_CODE - io.dropwizard.logging.json.AccessAttribute
- stop() - Method in class io.dropwizard.logging.json.layout.EventJsonLayout
T
- THREAD_NAME - io.dropwizard.logging.json.EventAttribute
- TIMESTAMP - io.dropwizard.logging.json.AccessAttribute
- TIMESTAMP - io.dropwizard.logging.json.EventAttribute
- 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(IAccessEvent) - Method in class io.dropwizard.logging.json.layout.AccessJsonLayout
- toJsonMap(ILoggingEvent) - Method in class io.dropwizard.logging.json.layout.EventJsonLayout
- toJsonMap(E) - Method in class io.dropwizard.logging.json.layout.AbstractJsonLayout
-
Converts the provided logging event to a generic
Map
U
- USER_AGENT - io.dropwizard.logging.json.AccessAttribute
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.
All Classes All Packages