Package io.quarkus.logging.json.runtime
Interface JsonLogConfig.JsonConfig
- Enclosing interface:
JsonLogConfig
public static interface JsonLogConfig.JsonConfig
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionAdditional fields to be appended in the JSON logs.The date format to use.booleanenable()Deprecated, for removal: This API element is subject to removal in a future version.enabled()Determine whether to enable the JSON console formatting extension, which disables "normal" console formatting.org.jboss.logmanager.formatters.StructuredFormatter.ExceptionOutputTypeThe exception output type to specify.Keys to be excluded from the JSON output.Override keys with custom values.Specify the format of the produced JSONbooleanEnable "pretty printing" of the JSON record.booleanEnable printing of more details in the log.The special end-of-record delimiter to be used.zoneId()The zone ID to use.
-
Method Details
-
enable
Deprecated, for removal: This API element is subject to removal in a future version.Determine whether to enable the JSON console formatting extension, which disables "normal" console formatting. -
enabled
Determine whether to enable the JSON console formatting extension, which disables "normal" console formatting. -
prettyPrint
@WithDefault("false") boolean prettyPrint()Enable "pretty printing" of the JSON record. Note that some JSON parsers will fail to read the pretty printed output. -
dateFormat
The date format to use. The special string "default" indicates that the default format should be used. -
recordDelimiter
The special end-of-record delimiter to be used. By default, newline is used. -
zoneId
The zone ID to use. The special string "default" indicates that the default zone should be used. -
exceptionOutputType
@WithDefault("detailed") org.jboss.logmanager.formatters.StructuredFormatter.ExceptionOutputType exceptionOutputType()The exception output type to specify. -
printDetails
@WithDefault("false") boolean printDetails()Enable printing of more details in the log.Printing the details can be expensive as the values are retrieved from the caller. The details include the source class name, source file name, source method name, and source line number.
-
keyOverrides
Override keys with custom values. Omitting this value indicates that no key overrides will be applied. -
excludedKeys
Keys to be excluded from the JSON output. -
additionalField
Additional fields to be appended in the JSON logs. -
logFormat
Specify the format of the produced JSON
-