diff options
author | Matt A. Tobin <email@mattatobin.com> | 2019-04-23 15:32:23 -0400 |
---|---|---|
committer | Matt A. Tobin <email@mattatobin.com> | 2019-04-23 15:32:23 -0400 |
commit | abe80cc31d5a40ebed743085011fbcda0c1a9a10 (patch) | |
tree | fb3762f06b84745b182af281abb107b95a9fcf01 /mobile/android/thirdparty/ch/boye/httpclientandroidlib/androidextra/HttpClientAndroidLog.java | |
parent | 63295d0087eb58a6eb34cad324c4c53d1b220491 (diff) | |
download | UXP-abe80cc31d5a40ebed743085011fbcda0c1a9a10.tar UXP-abe80cc31d5a40ebed743085011fbcda0c1a9a10.tar.gz UXP-abe80cc31d5a40ebed743085011fbcda0c1a9a10.tar.lz UXP-abe80cc31d5a40ebed743085011fbcda0c1a9a10.tar.xz UXP-abe80cc31d5a40ebed743085011fbcda0c1a9a10.zip |
Issue #1053 - Drop support Android and remove Fennec - Part 1a: Remove mobile/android
Diffstat (limited to 'mobile/android/thirdparty/ch/boye/httpclientandroidlib/androidextra/HttpClientAndroidLog.java')
-rw-r--r-- | mobile/android/thirdparty/ch/boye/httpclientandroidlib/androidextra/HttpClientAndroidLog.java | 113 |
1 files changed, 0 insertions, 113 deletions
diff --git a/mobile/android/thirdparty/ch/boye/httpclientandroidlib/androidextra/HttpClientAndroidLog.java b/mobile/android/thirdparty/ch/boye/httpclientandroidlib/androidextra/HttpClientAndroidLog.java deleted file mode 100644 index 89758f315..000000000 --- a/mobile/android/thirdparty/ch/boye/httpclientandroidlib/androidextra/HttpClientAndroidLog.java +++ /dev/null @@ -1,113 +0,0 @@ -package ch.boye.httpclientandroidlib.androidextra; - -import android.util.Log; - -public class HttpClientAndroidLog { - - private String logTag; - private boolean debugEnabled; - private boolean errorEnabled; - private boolean traceEnabled; - private boolean warnEnabled; - private boolean infoEnabled; - - public HttpClientAndroidLog(Object tag) { - logTag=tag.toString(); - debugEnabled=false; - errorEnabled=false; - traceEnabled=false; - warnEnabled=false; - infoEnabled=false; - } - - public void enableDebug(boolean enable) { - debugEnabled=enable; - } - - public boolean isDebugEnabled() { - return debugEnabled; - } - - public void debug(Object message) { - if(isDebugEnabled()) - Log.d(logTag, message.toString()); - } - - public void debug(Object message, Throwable t) { - if(isDebugEnabled()) - Log.d(logTag, message.toString(), t); - } - - public void enableError(boolean enable) { - errorEnabled=enable; - } - - public boolean isErrorEnabled() { - return errorEnabled; - } - - public void error(Object message) { - if(isErrorEnabled()) - Log.e(logTag, message.toString()); - } - - public void error(Object message, Throwable t) { - if(isErrorEnabled()) - Log.e(logTag, message.toString(), t); - } - - public void enableWarn(boolean enable) { - warnEnabled=enable; - } - - public boolean isWarnEnabled() { - return warnEnabled; - } - - public void warn(Object message) { - if(isWarnEnabled()) - Log.w(logTag, message.toString()); - } - - public void warn(Object message, Throwable t) { - if(isWarnEnabled()) - Log.w(logTag, message.toString(), t); - } - - public void enableInfo(boolean enable) { - infoEnabled=enable; - } - - public boolean isInfoEnabled() { - return infoEnabled; - } - - public void info(Object message) { - if(isInfoEnabled()) - Log.i(logTag, message.toString()); - } - - public void info(Object message, Throwable t) { - if(isInfoEnabled()) - Log.i(logTag, message.toString(), t); - } - - public void enableTrace(boolean enable) { - traceEnabled=enable; - } - - public boolean isTraceEnabled() { - return traceEnabled; - } - - public void trace(Object message) { - if(isTraceEnabled()) - Log.i(logTag, message.toString()); - } - - public void trace(Object message, Throwable t) { - if(isTraceEnabled()) - Log.i(logTag, message.toString(), t); - } - -} |