Rename Gradle targets Android (#2226)
This commit is contained in:
13
platform/android/MapLibreAndroid/src/cpp/logging_android.cpp
Normal file
13
platform/android/MapLibreAndroid/src/cpp/logging_android.cpp
Normal 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);
|
||||
}
|
||||
|
||||
} // namespace mbgl
|
||||
Reference in New Issue
Block a user