Interface Config
@ConfigRoot(phase=RUN_TIME)
@ConfigMapping(prefix="quarkus.log.json")
public interface Config
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfacestatic enumstatic interfacestatic interfacestatic interfacestatic enumstatic interfacestatic interface -
Method Summary
Modifier and TypeMethodDescriptionFor adding fields to the json output directly from the config.console()Configuration properties for console formatter.fields()Configuration properties to customize fieldsfile()Configuration properties for file formatter.Support changing logging format.booleanEnable "pretty printing" of the JSON record.The special end-of-record delimiter to be used.socket()Configuration properties for socket formatter.
-
Method Details
-
console
Configuration properties for console formatter. -
file
Configuration properties for file formatter. -
socket
Configuration properties for socket formatter. -
fields
Config.FieldsConfig fields()Configuration properties to customize fields -
prettyPrint
@WithDefault("false") boolean prettyPrint()Enable "pretty printing" of the JSON record. Note that some JSON parsers will fail to read pretty printed output. -
recordDelimiter
The special end-of-record delimiter to be used. By default, newline delimiter is used. -
additionalField
@ConfigDocMapKey("field-name") @ConfigDocSection Map<String,Config.AdditionalFieldConfig> additionalField()For adding fields to the json output directly from the config. -
logFormat
Support changing logging format.
-