Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
14 lines
282 B
C++
14 lines
282 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
|