E-MailRelay
|
A non-throwing copyable wrapper for std::ostream, used by G::LogOutput and associated logging macros. More...
#include <glogstream.h>
Public Member Functions | |
LogStream (std::ostream *s) noexcept | |
Public Attributes | |
std::ostream * | m_ostream |
A non-throwing copyable wrapper for std::ostream, used by G::LogOutput and associated logging macros.
This class allows streaming to G::LogOutput to be inherently non-throwing without needing a try/catch block at every call site. The most common streaming operators are implemented out-of-line as a modest code-size optimisation.
Definition at line 37 of file glogstream.h.
|
inlineexplicitnoexcept |
Definition at line 39 of file glogstream.h.
std::ostream* G::LogStream::m_ostream |
Definition at line 43 of file glogstream.h.