Android Open Source - ABTester Defualt Logger






From Project

Back to project page ABTester.

License

The source code is released under:

MIT License

If you think the Android project ABTester listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package ab.tester;
/*from  w ww  .  j a v a2  s  .c om*/
import android.util.Log;

/**
 * Default implementation of the LoggerInterface used by the ABTester wrapper  
 * using the Log.e(), Log.d() .... function
 */
public class DefualtLogger implements LoggerInterface {

  @Override
  public void e(String tag, String text) {
    Log.e(tag, text);
  }

  @Override
  public void e(String tag, String text, Throwable e) {
    Log.e(tag, text, e);
  }
  
  @Override
  public void d(String tag, String text) {
    Log.d(tag, text);
  }

  @Override
  public void v(String tag, String text) {
    Log.v(tag, text);
  }
}




Java Source Code List

ab.tester.ABTest.java
ab.tester.ABTester.java
ab.tester.DefualtLogger.java
ab.tester.LoggerInterface.java
ab.tester.prefs.ABEventsSharedPrefs.java
ab.tester.prefs.ABGeneralSharedPrefs.java
ab.tester.prefs.ABSharedPrefs.java
ab.tester.prefs.ABTestsSharedPrefs.java
com.example.ab_sample.MainActivity.java
com.example.ab_sample.SplashActivity.java