summaryrefslogtreecommitdiff
path: root/platform/android/src/logging_android.cpp
blob: 1301367280c3eaa84202fed831141b80027b2fa8 (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);
}

}