mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-07-30 15:41:59 +08:00
Added a ostream version of Log::debug.
This commit is contained in:
parent
053242f9de
commit
dbc216e078
@ -51,6 +51,11 @@ public:
|
||||
std::cerr << message << std::endl;
|
||||
}
|
||||
|
||||
static std::ostream& debug(std::string topic) {
|
||||
std::cerr << topic << " DEBUG" << ": ";
|
||||
return std::cerr;
|
||||
}
|
||||
|
||||
};
|
||||
|
||||
/// Utility debug function to transform a std::vector of anything that
|
||||
|
Loading…
x
Reference in New Issue
Block a user