summaryrefslogtreecommitdiff
path: root/platform/android/src/logging_android.cpp
blob: c92c613a21fd8719b00d5a54ba77b0079ccf223e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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);
}

}