Package io.quarkus.runtime.logging
Interface LogRuntimeConfig.ConsoleConfig
- Enclosing interface:
- LogRuntimeConfig
public static interface LogRuntimeConfig.ConsoleConfig
-
Method Summary
Modifier and TypeMethodDescriptionasync()
Console async logging configcolor()
Deprecated.int
darken()
Specify how much the colors should be darkened.boolean
enable()
If console logging should be enabledfilter()
The name of the filter to link to the console handler.format()
The log format.@WithConverter(LevelConverter.class) Level
level()
The console log level.boolean
stderr()
If console logging should go toSystem.err
instead ofSystem.out
.
-
Method Details
-
enable
@WithDefault("true") boolean enable()If console logging should be enabled -
stderr
@WithDefault("false") boolean stderr()If console logging should go toSystem.err
instead ofSystem.out
. -
format
The log format. Note that this value is ignored if an extension is present that takes control of console formatting (e.g., an XML or JSON-format extension). -
level
@WithDefault("ALL") @WithConverter(LevelConverter.class) @WithConverter(LevelConverter.class) Level level()The console log level. -
color
Deprecated.If the console logging should be in color. If undefined, Quarkus takes best guess based on the operating system and environment. Note that this value is ignored if an extension is present that takes control of console formatting (e.g., an XML or JSON-format extension).This has been deprecated and replaced with
quarkus.console.color
, as Quarkus now provides more console-based functionality than just logging. -
darken
@WithDefault("0") int darken()Specify how much the colors should be darkened. Note that this value is ignored if an extension is present that takes control of console formatting (e.g., an XML or JSON-format extension). -
filter
The name of the filter to link to the console handler. -
async
LogRuntimeConfig.AsyncConfig async()Console async logging config
-