I need to implement LoggerStream that does something like this
LoggerStream() << "Logged this info " << " my info with value = " << value;
I have a class Logger with function info.
std::ostringstream msg;
msg << "my info " << " with value = " << value;
logInfo(msg.str());
How to write this wrapper LoggerStream() ?
Thanks!
Aucun commentaire:
Enregistrer un commentaire