Move JNI bindings code from mapbox-gl-native to this repo. (#301)

This commit is contained in:
Igor Tarasov
2020-04-02 19:45:56 +03:00
committed by GitHub
parent 620bda356c
commit daecbed823
178 changed files with 14422 additions and 2 deletions

View File

@@ -0,0 +1,13 @@
#include <mbgl/util/logging.hpp>
#include "logger.hpp"
#include "attach_env.hpp"
namespace mbgl {
void Log::platformRecord(EventSeverity severity, const std::string &msg) {
auto env{ android::AttachEnv() };
android::Logger::log(*env, severity, msg);
}
}