Back to project page AmazonInAppPurchasing.
The source code is released under:
Copyright 2012 Bob Easterday, Adobe Systems Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal ...
If you think the Android project AmazonInAppPurchasing listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.rahulrav.cordova.amazon.util; //from w ww . j ava2 s. c o m import android.util.Log; /** * A proxy to the Android {@link Log} */ public class Logger { private static final String TAG = "AmazonInAppPurchasing"; // info public static void i(final String message) { Log.i(TAG, message); } public static void i(final String message, final Throwable throwable) { Log.i(TAG, message, throwable); } // debug public static void d(final String message) { Log.d(TAG, message); } public static void d(final String message, final Throwable throwable) { Log.d(TAG, message, throwable); } // error public static void e(final String message) { Log.e(TAG, message); } public static void e(final String message, final Throwable throwable) { Log.e(TAG, message, throwable); } // verbose public static void v(final String message) { Log.v(TAG, message); } public static void v(final String message, final Throwable throwable) { Log.v(TAG, message, throwable); } // warning public static void w(final String message) { Log.w(TAG, message); } public static void w(final String message, final Throwable throwable) { Log.w(TAG, message, throwable); } }