mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-08-16 18:25:56 +08:00
Added std::string versions of error and info to Slic3r::Log
This commit is contained in:
parent
22e24d92e2
commit
5cba03da98
@ -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