Ion
|
This class is used to disable logging, while still allowing for log messages to contain '<<' expressions. More...
#include "logging.h"
Public Member Functions | |
NullLogger () | |
Constructs a NullLogger that does nothing. More... | |
NullLogger (port::LogSeverity severity) | |
Since NullLogger generally does nothing, the severity is necessary so that it can break on fatal errors. More... | |
~NullLogger () | |
std::ostream & | GetStream () |
Returns the stream to which output is sent. More... | |
This class is used to disable logging, while still allowing for log messages to contain '<<' expressions.
Fatal messages still call the registered break handler.
|
inline |
Constructs a NullLogger that does nothing.
|
explicit |
Since NullLogger generally does nothing, the severity is necessary so that it can break on fatal errors.
Definition at line 123 of file logging.cc.
|
inline |
std::ostream & ion::base::logging_internal::NullLogger::GetStream | ( | ) |
Returns the stream to which output is sent.
Definition at line 127 of file logging.cc.