Added std::string versions of error and info to Slic3r::Log

This commit is contained in:
Joseph Lenox 2018-05-13 00:07:11 -05:00 committed by Joseph Lenox
parent d34d0ea6ea
commit ba483a7b07

View File

@ -18,10 +18,19 @@ public:
std::wcerr << message << std::endl;
}
static void error(std::string topic, std::string message) {
std::cerr << topic << " ERR" << ": ";
std::cerr << message << std::endl;
}
static void info(std::string topic, std::wstring message) {
std::clog << topic << " INFO" << ": ";
std::wclog << message << std::endl;
}
static void info(std::string topic, std::string message) {
std::clog << topic << " INFO" << ": ";
std::clog << message << std::endl;
}
static void warn(std::string topic, std::wstring message) {
std::cerr << topic << " WARN" << ": ";