Back to project page Volley-Ball.
The source code is released under:
MIT License
If you think the Android project Volley-Ball 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.siu.android.volleyball.util; /* www. j a v a 2s . c o m*/ import android.util.Log; /** * Created by lukas on 8/29/13. */ public class BallLogger { // D public static void d(String string) { Log.d(BallLogger.class.getName(), string); } public static void d(String string, Throwable tr) { Log.d(BallLogger.class.getName(), string, tr); } public static void d(String string, Object... args) { d(String.format(string, args)); } public static void d(String string, Throwable tr, Object... args) { d(String.format(string, args), tr); } // E public static void e(String string) { Log.e(BallLogger.class.getName(), string); } public static void e(String string, Throwable tr) { Log.e(BallLogger.class.getName(), string, tr); } public static void e(String string, Object... args) { e(String.format(string, args)); } public static void e(String string, Throwable tr, Object... args) { e(String.format(string, args), tr); } }