|  | OGRE 14.3
    Object-Oriented Graphics Rendering Engine | 
Stream object which targets a log. More...
#include <OgreLog.h>
| Classes | |
| struct | Flush | 
| Simple type to indicate a flush of the stream to the log.  More... | |
| Public Member Functions | |
| Stream (Log *target, LogMessageLevel lml, bool maskDebug) | |
| Stream (Stream &&rhs)=default | |
| ~Stream () | |
| Stream & | operator<< (const Flush &v) | 
| template<typename T> | |
| Stream & | operator<< (const T &v) | 
Stream object which targets a log.
A stream logger object makes it simpler to send various things to a log. You can just use the operator<< implementation to stream anything to the log, which is cached until a Stream::Flush is encountered, or the stream itself is destroyed, at which point the cached contents are sent to the underlying log. You can use Log::stream() directly without assigning it to a local variable and as soon as the streaming is finished, the object will be destroyed and the message logged.
| 
 | inline | 
References Ogre::Log::Log().
Referenced by Stream(), operator<<(), and operator<<().
| 
 | inline | 
| 
 | inline | 
References Stream().
References Stream(), and Ogre::BLANKSTRING.