Added a ostream version of Log::debug.

This commit is contained in:
Joseph Lenox 2018-07-19 22:03:07 -05:00
parent 053242f9de
commit dbc216e078

View File

@ -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