MDF Lib 2.2
Interface against MDF 3/4 files
Loading...
Searching...
No Matches
mdflogstream.h File Reference

The mdf log stream file is intended to isolate the logging so the library can be built without dependency of the util and boost libraries. The applications in the library do however include the above libraries.

#include <sstream>
#include <string>
#include "mdf/mdffactory.h"
Include dependency graph for mdflogstream.h:

Go to the source code of this file.

Classes

struct  MdfLocation
 This is a replacement for the std::source_location library. The standard source_location library cannot be used due to user requirement of C++ 17 version. More...
 
class  mdf::MdfLogStream
 MDF log stream interface. More...
 

Namespaces

namespace  mdf
 Main namespace for the MDF library.
 

Macros

#define MDF_TRACE()
 Trace log message.
 
#define MDF_DEBUG()
 Debug log message.
 
#define MDF_INFO()
 Info log message.
 
#define MDF_ERROR()
 Error log message.
 

Typedefs

using mdf::MdfLogFunction1
 MDF log function definition.
 

Macro Definition Documentation

◆ MDF_DEBUG

#define MDF_DEBUG ( )
Value:
MdfLogStream({__LINE__,0,__FILE__,__func__}, \
MdfLogSeverity::kDebug)

◆ MDF_ERROR

#define MDF_ERROR ( )
Value:
MdfLogStream({__LINE__,0,__FILE__,__func__}, \
MdfLogSeverity::kError)

◆ MDF_INFO

#define MDF_INFO ( )
Value:
MdfLogStream({__LINE__,0,__FILE__,__func__}, \
MdfLogSeverity::kInfo)

◆ MDF_TRACE

#define MDF_TRACE ( )
Value:
MdfLogStream({__LINE__,0,__FILE__,__func__}, \
MdfLogSeverity::kTrace)