Interface LoggingConfiguration
-
public interface LoggingConfigurationEncapsulates the SDK's general logging configuration.Use
LoggingConfigurationFactoryto 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.StringgetBaseLoggerName()Returns the configured base logger name.default LDLogAdaptergetLogAdapter()Returns the configured logging adapter.java.time.DurationgetLogDataSourceOutageAsErrorAfter()The time threshold, if any, after which the SDK will log a data source outage atERRORlevel instead ofWARNlevel.
-
-
-
Method Detail
-
getLogDataSourceOutageAsErrorAfter
java.time.Duration getLogDataSourceOutageAsErrorAfter()
The time threshold, if any, after which the SDK will log a data source outage atERRORlevel instead ofWARNlevel.- 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
-
-