OSVR-Core
|
An object returned the logging functions (including operator<<), serves to accumulate streamed output in a single ostringstream then write it to the logger at the end of the expression's lifetime. More...
#include <Logger.h>
Public Member Functions | |
StreamProxy (Logger &logger, LogLevel level) | |
StreamProxy (Logger &logger, LogLevel level, const std::string &msg) | |
~StreamProxy () | |
destructor appends the finished stringstream at the end of the expression. More... | |
StreamProxy (StreamProxy &&other) | |
move construction | |
StreamProxy (StreamProxy const &)=delete | |
StreamProxy & | operator= (StreamProxy const &)=delete |
operator std::ostream & () | |
template<typename T > | |
std::ostream & | operator<< (T &&what) |
An object returned the logging functions (including operator<<), serves to accumulate streamed output in a single ostringstream then write it to the logger at the end of the expression's lifetime.
|
inline |
destructor appends the finished stringstream at the end of the expression.