added warn() to log

This commit is contained in:
Joseph Lenox 2018-04-29 22:49:49 -05:00 committed by Joseph Lenox
parent 2bb202e2ec
commit c3edae8fe4

View File

@ -17,6 +17,11 @@ public:
std::wclog << message << std::endl;
}
static void warn(std::string topic, std::wstring message) {
std::cerr << topic << ": ";
std::wcerr << message << std::endl;
}
};
}