From: Damyan Ivanov Date: Sun, 3 May 2020 09:02:02 +0000 (+0300) Subject: Logger: add warning methods X-Git-Tag: v0.12.0~26 X-Git-Url: https://git.ktnx.net/?a=commitdiff_plain;h=6c91c6e0c1f7b0d281519c040f44142174f2925d;p=mobile-ledger.git Logger: add warning methods --- diff --git a/app/src/main/java/net/ktnx/mobileledger/utils/Logger.java b/app/src/main/java/net/ktnx/mobileledger/utils/Logger.java index 68d3a7af..ec7d6efb 100644 --- a/app/src/main/java/net/ktnx/mobileledger/utils/Logger.java +++ b/app/src/main/java/net/ktnx/mobileledger/utils/Logger.java @@ -28,4 +28,10 @@ public final class Logger { public static void debug(String tag, String msg, Throwable e) { if (BuildConfig.DEBUG) Log.d(tag, msg, e); } + public static void warn(String tag, String msg) { + Log.w(tag, msg); + } + public static void warn(String tag, String msg, Throwable e) { + Log.w(tag, msg, e); + } }