VTK-m
2.2
|
Conditionally logs a message with a stream-like interface. More...
#include <Logging.h>
Public Member Functions | |
LogCondStream (LogLevel level, bool cond, const char *file, int line) | |
~LogCondStream () noexcept(false) | |
template<typename T > | |
LogCondStream & | operator<< (const T &in) |
LogCondStream & | operator<< (std::ostream &(*f)(std::ostream &)) |
Private Attributes | |
LogLevel | Level |
bool | Condition |
const char * | File |
int | Line |
std::ostringstream | SStream |
Conditionally logs a message with a stream-like interface.
Messages are flushed to output by the destructor.
|
inline |
|
noexcept |
|
inline |
|
inline |
|
private |
|
private |
|
private |
|
private |
|
private |