Medical Imaging Interaction Toolkit
2024.06.00
Medical Imaging Interaction Toolkit
|
Simulates a std::cout stream. More...
#include <mitkLog.h>
Public Member Functions | |
PseudoLogStream (LogLevel level, const std::string &filePath, int lineNumber, const std::string &functionName) | |
~PseudoLogStream () | |
The encapsulated message is written to the backend. More... | |
template<class T > | |
PseudoLogStream & | operator<< (const T &data) |
template<class T > | |
PseudoLogStream & | operator<< (T &data) |
PseudoLogStream & | operator<< (std::ostream &(*func)(std::ostream &)) |
PseudoLogStream & | operator() (const std::string &category) |
Sets the category of this PseudoLogStream object. More... | |
PseudoLogStream & | operator() (bool enabled) |
Enables/disables the PseudoLogStream. More... | |
Protected Attributes | |
bool | m_Disabled |
LogMessage | m_Message |
std::stringstream | m_Stream |
Simulates a std::cout stream.
Should only be used by the macros defined in the file mitkLog.h.
|
inline |
|
inline |
The encapsulated message is written to the backend.
Definition at line 79 of file mitkLog.h.
References mitk::DistributeToBackends(), and MITKLOG_MODULENAME.
|
inline |
Enables/disables the PseudoLogStream.
If set to false, parsing and output is suppressed.
|
inline |
Sets the category of this PseudoLogStream object.
If there is already a category it is appended, separated by a dot.
|
inline |
|
inline |
|
inline |
|
protected |
|
protected |