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); } }