Allows piping content in order to build a log message. Once the object is destroyed, the piped content will be logged to the appropriate outputs.
More...
#include <line.hpp>
|
|
| ~Line () |
| | Logs all contents previously piped into the object to the outputs.
|
| |
| template<class T > |
| Line & | operator<< (T value) |
| | Add content to the log message. More...
|
| |
Allows piping content in order to build a log message. Once the object is destroyed, the piped content will be logged to the appropriate outputs.
◆ operator<<()
template<class T >
| Line& logger::Line::operator<< |
( |
T |
value | ) |
|
|
inline |
Add content to the log message.
- Template Parameters
-
| T | Any type accepted by a std::ostream. |
- Parameters
-
| value | The content to add to the message. |
- Returns
- A reference to this Line object, allowing for continuous piping.
The documentation for this class was generated from the following file: