public static void wtf(Throwable tr) { if (!allowWtf) return; StackTraceElement caller = OtherUtils.getCallerStackTraceElement(); String tag = generateTag(caller); if (customLogger != null) { customLogger.wtf(tag, tr); } else { Log.wtf(tag, tr); } }
public static void d(String content, Throwable tr) { if (!allowD) return; StackTraceElement caller = OtherUtils.getCallerStackTraceElement(); String tag = generateTag(caller); if (customLogger != null) { customLogger.d(tag, content, tr); } else { Log.d(tag, content, tr); } }
public static void w(String content) { if (!allowW) return; StackTraceElement caller = OtherUtils.getCallerStackTraceElement(); String tag = generateTag(caller); if (customLogger != null) { customLogger.w(tag, content); } else { Log.w(tag, content); } }