Package io.quarkus.runtime.logging
Class ConsoleConfig
- java.lang.Object
-
- io.quarkus.runtime.logging.ConsoleConfig
-
public class ConsoleConfig extends Object
-
-
Field Summary
Fields Modifier and Type Field Description (package private) AsyncConfigasyncConsole async logging config(package private) Optional<Boolean>colorIf the console logging should be in color.(package private) intdarkenSpecify how much the colors should be darkened.(package private) booleanenableIf console logging should be enabled(package private) StringformatThe log format.(package private) LevellevelThe console log level.(package private) booleanstderrIf console logging should go toSystem.errinstead ofSystem.out.
-
Constructor Summary
Constructors Constructor Description ConsoleConfig()
-
-
-
Field Detail
-
enable
@ConfigItem(defaultValue="true") boolean enable
If console logging should be enabled
-
stderr
@ConfigItem(defaultValue="false") boolean stderr
If console logging should go toSystem.errinstead ofSystem.out.
-
format
@ConfigItem(defaultValue="%d{yyyy-MM-dd HH:mm:ss,SSS} %-5p [%c{3.}] (%t) %s%e%n") String format
The log format. Note that this value will be ignored if an extension is present that takes control of console formatting (e.g. an XML or JSON-format extension).
-
level
@ConfigItem(defaultValue="ALL") Level level
The console log level.
-
color
@ConfigItem Optional<Boolean> color
If the console logging should be in color. If undefined quarkus takes best guess based on operating system and environment. Note that this value will be ignored if an extension is present that takes control of console formatting (e.g. an XML or JSON-format extension).
-
darken
@ConfigItem(defaultValue="0") int darken
Specify how much the colors should be darkened. Note that this value will be ignored if an extension is present that takes control of console formatting (e.g. an XML or JSON-format extension).
-
async
AsyncConfig async
Console async logging config
-
-