MythTV  master
Macros | Functions | Variables
Logging.h File Reference
#include <QtGlobal>
#include <QString>
#include "freemheg.h"
Include dependency graph for Logging.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define MHASSERT(f)   Q_ASSERT(f)
 
#define MHLOG(__level, __text)
 
#define MHERROR(__text)
 

Functions

void __mhlog (const QString &logtext)
 

Variables

int __mhlogoptions
 
FILE * __mhlogStream
 

Macro Definition Documentation

◆ MHASSERT

#define MHASSERT (   f)    Q_ASSERT(f)

Definition at line 30 of file Logging.h.

◆ MHLOG

#define MHLOG (   __level,
  __text 
)
Value:
do { \
if (__level & __mhlogoptions) \
__mhlog(__text); \
} while (false)
int __mhlogoptions
Definition: Engine.cpp:1479

Definition at line 36 of file Logging.h.

◆ MHERROR

#define MHERROR (   __text)
Value:
do { \
__mhlog(__text); \
throw "Failed"; \
} while (false)
int __mhlogoptions
Definition: Engine.cpp:1479

Definition at line 42 of file Logging.h.

Function Documentation

◆ __mhlog()

void __mhlog ( const QString &  logtext)

Definition at line 1484 of file Engine.cpp.

Variable Documentation

◆ __mhlogoptions

int __mhlogoptions

◆ __mhlogStream

FILE* __mhlogStream