RADLib
RADical C++ application framework
RADCore::Internal::LogStream Class Reference

Streaming log proxy used by RADInfo() and RADDebug(). More...

#include <RADCore.h>

Public Member Functions

 LogStream (LogLevel level)
 Creates a log stream for level. More...
 
 ~LogStream ()
 Flushes the accumulated string to the logger. More...
 
template<typename T >
LogStreamoperator<< (const T &value)
 Appends value to the log stream. More...
 
LogStreamoperator<< (std::ostream &(*manip)(std::ostream &))
 Appends an ostream manipulator such as std::endl. More...
 

Detailed Description

Streaming log proxy used by RADInfo() and RADDebug().

Constructor & Destructor Documentation

◆ LogStream()

RADCore::Internal::LogStream::LogStream ( LogLevel  level)

Creates a log stream for level.

◆ ~LogStream()

RADCore::Internal::LogStream::~LogStream ( )

Flushes the accumulated string to the logger.

Member Function Documentation

◆ operator<<() [1/2]

template<typename T >
LogStream& RADCore::Internal::LogStream::operator<< ( const T &  value)
inline

Appends value to the log stream.

◆ operator<<() [2/2]

LogStream& RADCore::Internal::LogStream::operator<< ( std::ostream &(*)(std::ostream &)  manip)
inline

Appends an ostream manipulator such as std::endl.


The documentation for this class was generated from the following file: