mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-08-15 12:35:56 +08:00
Added ostream version of warn and info
This commit is contained in:
parent
0436b83a22
commit
bce4f19111
@ -59,6 +59,14 @@ public:
|
|||||||
return std::cerr;
|
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
|
/// Utility debug function to transform a std::vector of anything that
|
||||||
|
Loading…
x
Reference in New Issue
Block a user