Package io.quarkus.deployment.builditem
Class LogSyslogFormatBuildItem
- java.lang.Object
-
- io.quarkus.builder.item.BuildItem
-
- io.quarkus.builder.item.MultiBuildItem
-
- io.quarkus.deployment.builditem.LogSyslogFormatBuildItem
-
public final class LogSyslogFormatBuildItem extends MultiBuildItem
The syslog format build item. Producing this item will cause the logging subsystem to disregard its syslog 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 LogSyslogFormatBuildItem(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
-
LogSyslogFormatBuildItem
public LogSyslogFormatBuildItem(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
-
-