Class LoggerConfiguration

java.lang.Object
io.micronaut.management.endpoint.loggers.LoggerConfiguration

public class LoggerConfiguration extends Object
Represents the configuration of a ManagedLoggingSystem logger.
Since:
1.0
Author:
Matthew Moss, graemerocher
  • Constructor Details

    • LoggerConfiguration

      public LoggerConfiguration(String name, LogLevel configuredLevel, LogLevel effectiveLevel)
      Parameters:
      name - the logger name
      configuredLevel - the configured LogLevel
      effectiveLevel - the effective LogLevel
  • Method Details

    • getName

      public String getName()
      Returns:
      the logger name
    • configuredLevel

      public LogLevel configuredLevel()
      Returns:
      the configured LogLevel
    • effectiveLevel

      public LogLevel effectiveLevel()
      Returns:
      the effective LogLevel
    • getData

      public Map<String,Object> getData()
      Returns:
      a Map of data to emit (less the name)