Class 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
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static LDLogAdapter adapter()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • LDAndroidLogging

        public LDAndroidLogging()