org.springframework.boot.logging

Class LoggerConfiguration



  • public final class LoggerConfiguration
    extends Object
    Immutable class that represents the configuration of a LoggingSystem's logger.
    Since:
    1.5.0
    Author:
    Ben Hale
    • Constructor Detail

      • LoggerConfiguration

        public LoggerConfiguration(String name,
                                   LogLevel configuredLevel,
                                   LogLevel effectiveLevel)
        Create a new instance.
        Parameters:
        name - the name of the logger
        configuredLevel - the configured level of the logger
        effectiveLevel - the effective level of the logger
    • Method Detail

      • getConfiguredLevel

        public LogLevel getConfiguredLevel()
        Returns the configured level of the logger.
        Returns:
        the configured level of the logger
      • getEffectiveLevel

        public LogLevel getEffectiveLevel()
        Returns the effective level of the logger.
        Returns:
        the effective level of the logger
      • getName

        public String getName()
        Returns the name of the logger.
        Returns:
        the name of the logger
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object

Copyright © 2021 Pivotal Software, Inc.. All rights reserved.