mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-08-14 23:35:52 +08:00
Added std::string versions of error and info to Slic3r::Log
This commit is contained in:
parent
d34d0ea6ea
commit
ba483a7b07
@ -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" << ": ";
|
||||
|
Loading…
x
Reference in New Issue
Block a user