MDF Lib 2.2
Interface against MDF 3/4 files
|
MDF log stream interface.
#include <mdflogstream.h>
Public Member Functions | |
MdfLogStream (MdfLocation location, MdfLogSeverity severity) | |
Constructor. | |
~MdfLogStream () override | |
Destructor. | |
MdfLogStream (const MdfLogStream &)=delete | |
MdfLogStream (MdfLogStream &&)=delete | |
MdfLogStream & | operator= (const MdfLogStream &)=delete |
MdfLogStream & | operator= (MdfLogStream &&)=delete |
Static Public Member Functions | |
static void | SetLogFunction1 (const MdfLogFunction1 &func) |
Sets a log function. | |
static void | SetLogFunction2 (const MdfLogFunction2 &func) |
Sets a log function. | |
Protected Member Functions | |
virtual void | LogString (const MdfLocation &location, MdfLogSeverity severity, const std::string &text) |
Defines the logging function. | |
Protected Attributes | |
MdfLocation | location_ |
File and function location. | |
MdfLogSeverity | severity_ |
Log level of the stream. | |