Interface LoggingConfiguration
-
public interface LoggingConfiguration
Encapsulates the SDK's general logging configuration.Use
LoggingConfigurationFactory
to construct an instance.- Since:
- 5.0.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default java.lang.String
getBaseLoggerName()
Returns the configured base logger name.default LDLogAdapter
getLogAdapter()
Returns the configured logging adapter.java.time.Duration
getLogDataSourceOutageAsErrorAfter()
The time threshold, if any, after which the SDK will log a data source outage atERROR
level instead ofWARN
level.
-
-
-
Method Detail
-
getLogDataSourceOutageAsErrorAfter
java.time.Duration getLogDataSourceOutageAsErrorAfter()
The time threshold, if any, after which the SDK will log a data source outage atERROR
level instead ofWARN
level.- Returns:
- the error logging threshold, or null
- See Also:
LoggingConfigurationBuilder.logDataSourceOutageAsErrorAfter(java.time.Duration)
-
getBaseLoggerName
default java.lang.String getBaseLoggerName()
Returns the configured base logger name.- Returns:
- the logger name
- Since:
- 5.10.0
-
getLogAdapter
default LDLogAdapter getLogAdapter()
Returns the configured logging adapter.- Returns:
- the logging adapter
- Since:
- 5.10.0
-
-