summaryrefslogtreecommitdiff
path: root/platform/default/logging_stderr.cpp
blob: 41585fb7bb7eb1a93e73812cd126873b62cf1939 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#include <mbgl/util/logging.hpp>
#include <mbgl/util/enum.hpp>

#include <iostream>

namespace mbgl {

void Log::platformRecord(EventSeverity severity, const std::string &msg) {
    std::cerr << "[" << Enum<EventSeverity>::toString(severity) << "] " << msg << std::endl;
}

} // namespace mbgl