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

#include <QDebug>

namespace mbgl {

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

} // namespace mbgl