diff --git a/xs/src/libslic3r/Log.hpp b/xs/src/libslic3r/Log.hpp index 353e23d50..4246d84a8 100644 --- a/xs/src/libslic3r/Log.hpp +++ b/xs/src/libslic3r/Log.hpp @@ -59,6 +59,14 @@ public: return std::cerr; } + static std::ostream& warn(std::string topic) { + std::cerr << topic << " WARN" << ": "; + return std::cerr; + } + static std::ostream& info(std::string topic) { + std::cerr << topic << " INFO" << ": "; + return std::cerr; + } }; /// Utility debug function to transform a std::vector of anything that