Simple adapter for QTextStream additionally logging printed values Logs are printed when StreamPrinter is destroyed or logContent() is called.
More...
#include <logger.h>
Simple adapter for QTextStream additionally logging printed values Logs are printed when StreamPrinter is destroyed or logContent() is called.
Recommended usage with macros PRINT_STDOUT() and PRINT_STDERR()
◆ StreamPrinter()
| StreamPrinter::StreamPrinter |
( |
FILE * |
file, |
|
|
uint |
lineno = 0, |
|
|
QString |
filename = "" |
|
) |
| |
|
inline |
◆ ~StreamPrinter()
| StreamPrinter::~StreamPrinter |
( |
| ) |
|
|
inline |
◆ operator<<() [1/2]
◆ operator<<() [2/2]
template<typename Message >
◆ m_filename
| QString StreamPrinter::m_filename |
|
private |
◆ m_lineno
| uint StreamPrinter::m_lineno |
|
private |
◆ m_message
| std::stringstream StreamPrinter::m_message |
|
private |
◆ m_stream
| QTextStream StreamPrinter::m_stream |
|
private |
The documentation for this class was generated from the following file:
- /home/runner/work/doxygen/antimicrox/src/logger.h