Package io.quarkus.deployment.builditem
Class LogCategoryBuildItem
java.lang.Object
io.quarkus.builder.item.BuildItem
io.quarkus.builder.item.MultiBuildItem
io.quarkus.deployment.builditem.LogCategoryBuildItem
public final class LogCategoryBuildItem
extends io.quarkus.builder.item.MultiBuildItem
Establish the default log level of a log category.
-
Constructor Summary
ConstructorsConstructorDescriptionLogCategoryBuildItem(String category, Level level) Construct a new instance.LogCategoryBuildItem(String category, Level level, boolean setMinLevelDefault) Construct a new instance. -
Method Summary
-
Constructor Details
-
LogCategoryBuildItem
Construct a new instance.- Parameters:
category- the category (must not benullor empty)level- the level (must not benull)
-
LogCategoryBuildItem
Construct a new instance.- Parameters:
category- the category (must not benullor empty)level- the level (must not benull)setMinLevelDefault- if the default minimum level for the category should be set
-
-
Method Details
-
getCategory
Get the category.- Returns:
- the category (not
null)
-
getLevel
Get the level.- Returns:
- the level (not
null)
-
isSetMinLevelDefault
public boolean isSetMinLevelDefault()- Returns:
trueif the default min-level for the category should also be set.
-