Package com.launchdarkly.sdk.android
Class LDAndroidLogging
- java.lang.Object
-
- com.launchdarkly.sdk.android.LDAndroidLogging
-
public abstract class LDAndroidLogging extends java.lang.Object
Allows LaunchDarkly log output to be sent directly to the native Android Log API.By default, the SDK sends logging to Timber. If you want to bypass Timber and use Android logging directly instead, use this class with
LDConfig.Builder.logAdapter(LDLogAdapter)
:LDConfig config = new LDConfig.Builder() .logAdapter(LDAndroidLogging.adapter()) .build();
By default, debug-level logging is disabled and all other levels are enabled. To change this, use
LDConfig.Builder.logLevel(LDLogLevel)
.- Since:
- 3.2.0
-
-
Constructor Summary
Constructors Constructor Description LDAndroidLogging()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static LDLogAdapter
adapter()
-
-
-
Method Detail
-
adapter
public static LDLogAdapter adapter()
-
-