Interface LogBuildTimeConfig.CategoryBuildTimeConfig

Enclosing interface:
LogBuildTimeConfig

public static interface LogBuildTimeConfig.CategoryBuildTimeConfig
  • Method Summary

    Modifier and Type
    Method
    Description
    The minimum log level for this category.
  • Method Details

    • minLevel

      @WithDefault("inherit") InheritableLevel minLevel()
      The minimum log level for this category. By default, all categories are configured with DEBUG minimum level.

      To get runtime logging below DEBUG, e.g., TRACE, adjust the minimum level at build time. The right log level needs to be provided at runtime.

      As an example, to get TRACE logging, minimum level needs to be at TRACE, and the runtime log level needs to match that.