Class LogCategoryBuildItem


public final class LogCategoryBuildItem extends MultiBuildItem
Establish the default log level of a log category.
  • Constructor Details

    • LogCategoryBuildItem

      public LogCategoryBuildItem(String category, Level level)
      Construct a new instance.
      Parameters:
      category - the category (must not be null or empty)
      level - the level (must not be null)
    • LogCategoryBuildItem

      public LogCategoryBuildItem(String category, Level level, boolean setMinLevelDefault)
      Construct a new instance.
      Parameters:
      category - the category (must not be null or empty)
      level - the level (must not be null)
      setMinLevelDefault - if the default minimum level for the category should be set
  • Method Details

    • getCategory

      public String getCategory()
      Get the category.
      Returns:
      the category (not null)
    • getLevel

      public Level getLevel()
      Get the level.
      Returns:
      the level (not null)
    • isSetMinLevelDefault

      public boolean isSetMinLevelDefault()
      Returns:
      true if the default min-level for the category should also be set.