Package io.quarkus.deployment.builditem
Class LogFileFormatBuildItem
- java.lang.Object
-
- io.quarkus.builder.item.BuildItem
-
- io.quarkus.builder.item.MultiBuildItem
-
- io.quarkus.deployment.builditem.LogFileFormatBuildItem
-
public final class LogFileFormatBuildItem extends MultiBuildItem
The log file format build item. Producing this item will cause the logging subsystem to disregard its file 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
Constructors Constructor Description LogFileFormatBuildItem(RuntimeValue<Optional<Formatter>> formatterValue)
Construct a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RuntimeValue<Optional<Formatter>>
getFormatterValue()
Get the formatter value.
-
-
-
Constructor Detail
-
LogFileFormatBuildItem
public LogFileFormatBuildItem(RuntimeValue<Optional<Formatter>> formatterValue)
Construct a new instance.- Parameters:
formatterValue
- the optional formatter runtime value to use (must not benull
)
-
-
Method Detail
-
getFormatterValue
public RuntimeValue<Optional<Formatter>> getFormatterValue()
Get the formatter value.- Returns:
- the formatter value
-
-