MDF Lib 2.2
Interface against MDF 3/4 files
Loading...
Searching...
No Matches
mdf::MdfLogStream Class Reference

MDF log stream interface.

#include <mdflogstream.h>

Inheritance diagram for mdf::MdfLogStream:
Collaboration diagram for mdf::MdfLogStream:

Public Member Functions

 MdfLogStream (MdfLocation location, MdfLogSeverity severity)
 Constructor.
 
 ~MdfLogStream () override
 Destructor.
 
 MdfLogStream (const MdfLogStream &)=delete
 
 MdfLogStream (MdfLogStream &&)=delete
 
MdfLogStreamoperator= (const MdfLogStream &)=delete
 
MdfLogStreamoperator= (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.
 

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