@ConfigRoot(phase=RUN_TIME, name="log.console.json") public class JsonConfig extends Object
| Modifier and Type | Field and Description |
|---|---|
(package private) String |
dateFormat
The date format to use.
|
(package private) boolean |
enable
Determine whether to enable the JSON console formatting extension, which disables "normal" console formatting.
|
(package private) org.jboss.logmanager.formatters.StructuredFormatter.ExceptionOutputType |
exceptionOutputType
The exception output type to specify.
|
(package private) boolean |
prettyPrint
Enable "pretty printing" of the JSON record.
|
(package private) boolean |
printDetails
Enable printing of more details in the log.
|
(package private) Optional<String> |
recordDelimiter
The special end-of-record delimiter to be used.
|
(package private) String |
zoneId
The zone ID to use.
|
| Constructor and Description |
|---|
JsonConfig() |
@ConfigItem(name="<<parent>>", defaultValue="true") boolean enable
@ConfigItem boolean prettyPrint
@ConfigItem(defaultValue="default") String dateFormat
@ConfigItem Optional<String> recordDelimiter
@ConfigItem(defaultValue="default") String zoneId
@ConfigItem(defaultValue="detailed") org.jboss.logmanager.formatters.StructuredFormatter.ExceptionOutputType exceptionOutputType
@ConfigItem boolean printDetails
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.
Copyright © 2020 JBoss by Red Hat. All rights reserved.