diff --git a/xs/src/libslic3r/Log.hpp b/xs/src/libslic3r/Log.hpp index 419448a88..5eddac995 100644 --- a/xs/src/libslic3r/Log.hpp +++ b/xs/src/libslic3r/Log.hpp @@ -8,17 +8,21 @@ namespace Slic3r { class Log { public: static void fatal_error(std::string topic, std::wstring message) { - std::cerr << topic << ": "; + std::cerr << topic << " FERR" << ": "; + std::wcerr << message << std::endl; + } + static void error(std::string topic, std::wstring message) { + std::cerr << topic << " ERR" << ": "; std::wcerr << message << std::endl; } static void info(std::string topic, std::wstring message) { - std::clog << topic << ": "; + std::clog << topic << " INFO" << ": "; std::wclog << message << std::endl; } static void warn(std::string topic, std::wstring message) { - std::cerr << topic << ": "; + std::cerr << topic << " WARN" << ": "; std::wcerr << message << std::endl; }