summaryrefslogtreecommitdiff
path: root/platform/android/src/timber.hpp
blob: 1acaf39c1399e455130cc4d60f03f464778b48de (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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