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