From 6c91c6e0c1f7b0d281519c040f44142174f2925d Mon Sep 17 00:00:00 2001 From: Damyan Ivanov Date: Sun, 3 May 2020 12:02:02 +0300 Subject: [PATCH] Logger: add warning methods --- app/src/main/java/net/ktnx/mobileledger/utils/Logger.java | 6 ++++++ 1 file changed, 6 insertions(+) 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); + } } -- 2.39.5