26 m_severity(severity) ,
54 bool a = output->
enable(
true) ;
bool enable(bool enabled=true)
Enables or disables output. Returns the previous setting.
static LogOutput * instance()
Returns a pointer to the controlling LogOutput object.
Log(Severity, const char *file, int line)
Constructor.
static void output(G::Log::Severity, const char *file, int line, const std::string &)
Generates output if there is an existing LogOutput object which is enabled.
Controls and implements low-level logging output, as used by the Log interface.
std::ostream & operator<<(const char *s)
Streams 's' and then returns a stream for streaming more stuff into.
~Log()
Destructor. Writes the accumulated string to the log output.