diff options
author | Thiago Marcos P. Santos <tmpsantos@gmail.com> | 2015-03-09 16:15:18 +0200 |
---|---|---|
committer | Thiago Marcos P. Santos <thiago@mapbox.com> | 2015-03-12 13:28:41 +0200 |
commit | 51bc265db341f1d98b4fd46be80241771f854eb5 (patch) | |
tree | dc77abcdc9b423b59da94d32ae2afb0f57fb6f8d /android | |
parent | 2948e7d121343359b817d2fb0eb383e257ab84c8 (diff) | |
download | qtlocation-mapboxgl-51bc265db341f1d98b4fd46be80241771f854eb5.tar.gz |
Make the logging system static
No initialization is needed anymore and we can use the logging functions
safely at any point of the code (threading is not handled though, so you
might get multiplexed messages if you log from two threads
simultaneously).
Diffstat (limited to 'android')
-rw-r--r-- | android/cpp/jni.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/android/cpp/jni.cpp b/android/cpp/jni.cpp index 1163c33b57..62e153e9b9 100644 --- a/android/cpp/jni.cpp +++ b/android/cpp/jni.cpp @@ -15,7 +15,6 @@ #include <mbgl/android/jni.hpp> #include <mbgl/android/native_map_view.hpp> #include <mbgl/map/map.hpp> -#include <mbgl/platform/android/log_android.hpp> #include <mbgl/platform/event.hpp> #include <mbgl/platform/log.hpp> #include <mbgl/storage/network_status.hpp> @@ -827,8 +826,6 @@ jobject JNICALL nativeLatLngForPixel(JNIEnv *env, jobject obj, jlong nativeMapVi extern "C" { extern "C" JNIEXPORT jint JNICALL JNI_OnLoad(JavaVM *vm, void *reserved) { - mbgl::Log::Set<mbgl::AndroidLogBackend>(); - mbgl::Log::Debug(mbgl::Event::JNI, "JNI_OnLoad"); JNIEnv *env = nullptr; |