Package org.springframework.boot.logging
Class LoggerConfiguration
java.lang.Object
org.springframework.boot.logging.LoggerConfiguration
Immutable class that represents the configuration of a
LoggingSystem
's logger.- Since:
- 1.5.0
- Author:
- Ben Hale
-
Constructor Summary
ConstructorDescriptionLoggerConfiguration
(String name, LogLevel configuredLevel, LogLevel effectiveLevel) Create a newinstance
. -
Method Summary
-
Constructor Details
-
LoggerConfiguration
Create a newinstance
.- Parameters:
name
- the name of the loggerconfiguredLevel
- the configured level of the loggereffectiveLevel
- the effective level of the logger
-
-
Method Details
-
getConfiguredLevel
Returns the configured level of the logger.- Returns:
- the configured level of the logger
-
getEffectiveLevel
Returns the effective level of the logger.- Returns:
- the effective level of the logger
-
getName
Returns the name of the logger.- Returns:
- the name of the logger
-
equals
-
hashCode
public int hashCode() -
toString
-