com.launchdarkly.sdk.server.interfaces.LoggingConfiguration Maven / Gradle / Ivy
package com.launchdarkly.sdk.server.interfaces;
import com.launchdarkly.sdk.server.integrations.LoggingConfigurationBuilder;
import java.time.Duration;
/**
* Encapsulates the SDK's general logging configuration.
*
* Use {@link LoggingConfigurationFactory} to construct an instance.
*
* @since 5.0.0
*/
public interface LoggingConfiguration {
/**
* The time threshold, if any, after which the SDK will log a data source outage at {@code ERROR}
* level instead of {@code WARN} level.
*
* @return the error logging threshold, or null
* @see LoggingConfigurationBuilder#logDataSourceOutageAsErrorAfter(java.time.Duration)
*/
Duration getLogDataSourceOutageAsErrorAfter();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy