diff options
Diffstat (limited to 'platform/android/src/timber.hpp')
-rw-r--r-- | platform/android/src/timber.hpp | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/platform/android/src/timber.hpp b/platform/android/src/timber.hpp new file mode 100644 index 0000000000..1acaf39c13 --- /dev/null +++ b/platform/android/src/timber.hpp @@ -0,0 +1,24 @@ +#pragma once + +#include <jni/jni.hpp> + +#include "bitmap.hpp" + +namespace mbgl { +namespace android { + +class Timber { +public: + static constexpr auto Name() { + return "timber/log/Timber"; + }; + static void registerNative(jni::JNIEnv&); + + static void logError(jni::JNIEnv&, jni::String error); + + private: + static jni::Class<Timber> _class; + }; + +} // namespace android +} // namespace mbgl |