13 lines
281 B
C++
13 lines
281 B
C++
#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
|