Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
13 lines
285 B
C++
13 lines
285 B
C++
#include <mln/util/logging.hpp>
|
|
#include <mln/util/enum.hpp>
|
|
|
|
#include <iostream>
|
|
|
|
namespace mln {
|
|
|
|
void Log::platformRecord(EventSeverity severity, const std::string &msg) {
|
|
std::cerr << "[" << Enum<EventSeverity>::toString(severity) << "] " << msg << '\n';
|
|
}
|
|
|
|
} // namespace mln
|