Interface BRunnerLoggerConfig


public interface BRunnerLoggerConfig
  • Field Details

  • Method Details

    • getLogFileName

      String getLogFileName()
    • getOrDefaultLogFileName

      static String getOrDefaultLogFileName()
    • getOrDefaultMeasurerLogFileName

      static String getOrDefaultMeasurerLogFileName()
    • getLogLevel

      BRunnerLogger.LogLevel getLogLevel()
    • getConfiguredLogLevel

      static BRunnerLogger.LogLevel getConfiguredLogLevel(LogSelectionStrategy strategy)
      Scans the classpath for implementations of BRunnerLoggerConfig. If none are found, returns DEFAULT_LOG_LEVEL. If one is found, returns its level. If multiple are found, prints a warning and returns a level chosen according to the given strategy.
      Parameters:
      strategy - the selection strategy to use if multiple instances are found.
      Returns:
      the configured log level.
    • getConfiguredLogLevel

      static BRunnerLogger.LogLevel getConfiguredLogLevel()
      Overloaded method using the default selection strategy.