DebugChannel::Logger Class Reference
output iterator for writing CompiledDebugMessages to a given channel More...
Collaboration diagram for DebugChannel::Logger:
Public Types | |
using | difference_type = void |
using | value_type = void |
using | pointer = void |
using | reference = void |
using | iterator_category = std::output_iterator_tag |
Public Member Functions | |
Logger (DebugChannel &ch) | |
Logger & | operator= (const CompiledDebugMessage &message) |
Logger & | operator* () |
Logger & | operator++ () |
Logger & | operator++ (int) |
Private Attributes | |
std::reference_wrapper< DebugChannel > | channel |
output destination More... | |
Detailed Description
Member Typedef Documentation
◆ difference_type
using DebugChannel::Logger::difference_type = void |
◆ iterator_category
using DebugChannel::Logger::iterator_category = std::output_iterator_tag |
◆ pointer
using DebugChannel::Logger::pointer = void |
◆ reference
using DebugChannel::Logger::reference = void |
◆ value_type
using DebugChannel::Logger::value_type = void |
Constructor & Destructor Documentation
◆ Logger()
|
inlineexplicit |
Member Function Documentation
◆ operator*()
◆ operator++() [1/2]
◆ operator++() [2/2]
◆ operator=()
|
inline |
Definition at line 185 of file debug.cc.
References CompiledDebugMessage::body, channel, Debug::Enabled(), CompiledDebugMessage::header, DebugMessageHeader::level, and DebugMessageHeader::section.
Member Data Documentation
◆ channel
|
private |
Definition at line 200 of file debug.cc.
Referenced by operator=().
The documentation for this class was generated from the following file:
- src/debug/debug.cc