diff options
author | Samuel Tardieu <sam@rfc1149.net> | 2012-03-31 21:20:15 +0200 |
---|---|---|
committer | Samuel Tardieu <sam@rfc1149.net> | 2012-03-31 21:51:37 +0200 |
commit | 78eba983f784fe2e68e512ad6b466d5798545d24 (patch) | |
tree | b1414fb736147fbb1ba2f7d9a90d78f85ba79440 /main/src/cgeo/geocaching/network | |
parent | 4ea70e3436f2bb9ba05af011df6ea1fc802f117d (diff) | |
download | cgeo-78eba983f784fe2e68e512ad6b466d5798545d24.zip cgeo-78eba983f784fe2e68e512ad6b466d5798545d24.tar.gz cgeo-78eba983f784fe2e68e512ad6b466d5798545d24.tar.bz2 |
Proxy all logs through cgeo.geocaching.utils.Log
The behaviour is unchanged, but altering Settings.isDebug() to return
false will prevent verbose, debug and info levels messages from being
logged.
Part of work on #1301.
Diffstat (limited to 'main/src/cgeo/geocaching/network')
-rw-r--r-- | main/src/cgeo/geocaching/network/HtmlImage.java | 2 | ||||
-rw-r--r-- | main/src/cgeo/geocaching/network/Login.java | 2 | ||||
-rw-r--r-- | main/src/cgeo/geocaching/network/Network.java | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/main/src/cgeo/geocaching/network/HtmlImage.java b/main/src/cgeo/geocaching/network/HtmlImage.java index 0aa349a..751c69e 100644 --- a/main/src/cgeo/geocaching/network/HtmlImage.java +++ b/main/src/cgeo/geocaching/network/HtmlImage.java @@ -5,6 +5,7 @@ import cgeo.geocaching.Settings; import cgeo.geocaching.StoredList; import cgeo.geocaching.connector.ConnectorFactory; import cgeo.geocaching.files.LocalStorage; +import cgeo.geocaching.utils.Log; import org.apache.commons.lang3.StringUtils; import org.apache.http.HttpResponse; @@ -16,7 +17,6 @@ import android.graphics.Rect; import android.graphics.drawable.BitmapDrawable; import android.net.Uri; import android.text.Html; -import android.util.Log; import android.view.Display; import android.view.WindowManager; diff --git a/main/src/cgeo/geocaching/network/Login.java b/main/src/cgeo/geocaching/network/Login.java index 7d43fa8..d5f511d 100644 --- a/main/src/cgeo/geocaching/network/Login.java +++ b/main/src/cgeo/geocaching/network/Login.java @@ -6,6 +6,7 @@ import cgeo.geocaching.cgBase; import cgeo.geocaching.connector.gc.GCConstants; import cgeo.geocaching.enumerations.StatusCode; import cgeo.geocaching.utils.BaseUtils; +import cgeo.geocaching.utils.Log; import org.apache.commons.lang3.ArrayUtils; import org.apache.commons.lang3.StringUtils; @@ -14,7 +15,6 @@ import org.apache.http.HttpResponse; import android.content.Context; import android.graphics.drawable.BitmapDrawable; -import android.util.Log; import java.text.ParseException; import java.text.SimpleDateFormat; diff --git a/main/src/cgeo/geocaching/network/Network.java b/main/src/cgeo/geocaching/network/Network.java index 4798d83..e78840d 100644 --- a/main/src/cgeo/geocaching/network/Network.java +++ b/main/src/cgeo/geocaching/network/Network.java @@ -5,6 +5,7 @@ import cgeo.geocaching.cgBase; import cgeo.geocaching.enumerations.StatusCode; import cgeo.geocaching.files.LocalStorage; import cgeo.geocaching.utils.BaseUtils; +import cgeo.geocaching.utils.Log; import org.apache.commons.collections.CollectionUtils; import org.apache.commons.lang3.StringUtils; @@ -39,7 +40,6 @@ import org.json.JSONException; import org.json.JSONObject; import android.net.Uri; -import android.util.Log; import java.io.File; import java.io.IOException; |