diff --git a/xs/src/libslic3r/Log.hpp b/xs/src/libslic3r/Log.hpp index d96dfa12a..353e23d50 100644 --- a/xs/src/libslic3r/Log.hpp +++ b/xs/src/libslic3r/Log.hpp @@ -50,7 +50,10 @@ public: std::cerr << topic << " DEBUG" << ": "; std::cerr << message << std::endl; } - + static std::ostream& error(std::string topic) { + std::cerr << topic << " ERR" << ": "; + return std::cerr; + } static std::ostream& debug(std::string topic) { std::cerr << topic << " DEBUG" << ": "; return std::cerr;