#include <Logging.hpp>
Definition at line 100 of file Logging.hpp.
◆ ScopedRecord() [1/3]
◆ ~ScopedRecord()
Definition at line 112 of file Logging.hpp.
113 {
114 if (m_Enabled)
115 {
116 for (auto sink : m_LogSinks)
117 {
118 if (sink)
119 {
120 sink->Consume(m_Os.str());
121 }
122 }
123 }
124 }
◆ ScopedRecord() [2/3]
◆ ScopedRecord() [3/3]
Definition at line 130 of file Logging.hpp.
131 : m_LogSinks(other.m_LogSinks)
132 , m_Os(std::move(other.m_Os))
133 , m_Enabled(other.m_Enabled)
134 {
135
136
137 other.m_Enabled = false;
138 }
References ScopedRecord().
◆ operator<<()
template<typename Streamable>
Definition at line 141 of file Logging.hpp.
142 {
143 if (m_Enabled)
144 {
145 m_Os << s;
146 }
147 return (*this);
148 }
References ScopedRecord().
◆ operator=() [1/2]
◆ operator=() [2/2]
The documentation for this struct was generated from the following file: