Package io.quarkus.deployment.builditem
Class LogConsoleFormatBuildItem
java.lang.Object
io.quarkus.builder.item.BuildItem
io.quarkus.builder.item.MultiBuildItem
io.quarkus.deployment.builditem.LogConsoleFormatBuildItem
The log console format build item. Producing this item will cause the logging subsystem to disregard its
console logging formatting configuration and use the formatter provided instead. If multiple formatters
are enabled at run time, a warning message is printed and only one is used.
-
Constructor Summary
ConstructorDescriptionLogConsoleFormatBuildItem
(RuntimeValue<Optional<Formatter>> formatterValue) Construct a new instance. -
Method Summary
Modifier and TypeMethodDescriptionGet the formatter value.
-
Constructor Details
-
LogConsoleFormatBuildItem
Construct a new instance.- Parameters:
formatterValue
- the optional formatter run time value to use (must not benull
)
-
-
Method Details
-
getFormatterValue
Get the formatter value.- Returns:
- the formatter value
-