UTILLib 2.0
Common C++ library with utilities.
Loading...
Searching...
No Matches
util::log::LogStream Class Reference

This class implements a stream interface around a log message. More...

#include "util/logstream,h"

Inheritance diagram for util::log::LogStream:
Collaboration diagram for util::log::LogStream:

Public Member Functions

 LogStream (const Loc &location, LogSeverity severity)
 Constructor.
 ~LogStream () override
 Destructor.
 LogStream (const LogStream &)=delete
 LogStream (LogStream &&)=delete
LogStreamoperator= (const LogStream &)=delete
LogStreamoperator= (LogStream &&)=delete

Detailed Description

The class implements a stream interface around a log message. You should not uss this class directly. Instead use the LOG_INFO() and LOG_ERROR() macro instead.

Usage:

LOG_INFO() << "Foo was here";
LOG_ERROR() << "Foo is not leaving";
#define LOG_INFO()
Info log stream.
Definition logstream.h:27
#define LOG_ERROR()
Error log stream.
Definition logstream.h:39

The documentation for this class was generated from the following file: