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/apps/cache | |
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/apps/cache')
4 files changed, 4 insertions, 4 deletions
diff --git a/main/src/cgeo/geocaching/apps/cache/GeneralAppsFactory.java b/main/src/cgeo/geocaching/apps/cache/GeneralAppsFactory.java index a845108..df5e991 100644 --- a/main/src/cgeo/geocaching/apps/cache/GeneralAppsFactory.java +++ b/main/src/cgeo/geocaching/apps/cache/GeneralAppsFactory.java @@ -3,11 +3,11 @@ package cgeo.geocaching.apps.cache; import cgeo.geocaching.Settings; import cgeo.geocaching.cgCache; import cgeo.geocaching.apps.AbstractAppFactory; +import cgeo.geocaching.utils.Log; import org.apache.commons.lang3.ArrayUtils; import android.app.Activity; -import android.util.Log; import android.view.Menu; import android.view.MenuItem; diff --git a/main/src/cgeo/geocaching/apps/cache/navi/GoogleMapsApp.java b/main/src/cgeo/geocaching/apps/cache/navi/GoogleMapsApp.java index 649823a..878bbb8 100644 --- a/main/src/cgeo/geocaching/apps/cache/navi/GoogleMapsApp.java +++ b/main/src/cgeo/geocaching/apps/cache/navi/GoogleMapsApp.java @@ -4,12 +4,12 @@ import cgeo.geocaching.R; import cgeo.geocaching.Settings; import cgeo.geocaching.activity.ActivityMixin; import cgeo.geocaching.geopoint.Geopoint; +import cgeo.geocaching.utils.Log; import android.app.Activity; import android.content.Context; import android.content.Intent; import android.net.Uri; -import android.util.Log; class GoogleMapsApp extends AbstractPointNavigationApp { diff --git a/main/src/cgeo/geocaching/apps/cache/navi/GoogleNavigationApp.java b/main/src/cgeo/geocaching/apps/cache/navi/GoogleNavigationApp.java index f94a623..a3d335c 100644 --- a/main/src/cgeo/geocaching/apps/cache/navi/GoogleNavigationApp.java +++ b/main/src/cgeo/geocaching/apps/cache/navi/GoogleNavigationApp.java @@ -7,12 +7,12 @@ import cgeo.geocaching.cgGeo; import cgeo.geocaching.cgWaypoint; import cgeo.geocaching.activity.ActivityMixin; import cgeo.geocaching.geopoint.Geopoint; +import cgeo.geocaching.utils.Log; import android.app.Activity; import android.content.Context; import android.content.Intent; import android.net.Uri; -import android.util.Log; class GoogleNavigationApp extends AbstractNavigationApp { diff --git a/main/src/cgeo/geocaching/apps/cache/navi/NavigationAppFactory.java b/main/src/cgeo/geocaching/apps/cache/navi/NavigationAppFactory.java index e2a1fc1..8bb54b7 100644 --- a/main/src/cgeo/geocaching/apps/cache/navi/NavigationAppFactory.java +++ b/main/src/cgeo/geocaching/apps/cache/navi/NavigationAppFactory.java @@ -10,13 +10,13 @@ import cgeo.geocaching.cgWaypoint; import cgeo.geocaching.cgeoapplication; import cgeo.geocaching.apps.AbstractAppFactory; import cgeo.geocaching.geopoint.Geopoint; +import cgeo.geocaching.utils.Log; import org.apache.commons.lang3.StringUtils; import android.app.Activity; import android.app.AlertDialog; import android.content.DialogInterface; -import android.util.Log; import android.view.Menu; import android.view.MenuItem; import android.view.View; |