Torc  0.1
Macros | Functions | Variables
torcloggingdefs.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define VERBOSE_PREAMBLE   enum VerboseMask {
 
#define VERBOSE_POSTAMBLE
 
#define VERBOSE_MAP(name, mask, additive, help)   name = (uint64_t)(mask),
 
#define LOGLEVEL_PREAMBLE   typedef enum {
 
#define LOGLEVEL_POSTAMBLE   } LogLevel;
 
#define LOGLEVEL_MAP(name, value, shortname)   name = (int)(value),
 
#define TORCLOGGINGDEFS_H_
 
#define VERBOSE_PREAMBLE
 
#define VERBOSE_POSTAMBLE
 
#define VERBOSE_MAP(name, mask, additive, help)   AddVerbose((uint64_t)(mask),QStringLiteral(#name),(bool)(additive),QStringLiteral(help));
 
#define LOGLEVEL_PREAMBLE
 
#define LOGLEVEL_POSTAMBLE
 
#define LOGLEVEL_MAP(name, value, shortname)   AddLogLevel((int)(value),QStringLiteral(#name),(char)(shortname));
 

Functions

VERBOSE_PREAMBLE VERBOSE_MAP (VB_ALL,~0ULL, false,"ALL available debug output") VERBOSE_MAP(VB_GENERAL
 
VERBOSE_PREAMBLE General info VERBOSE_MAP (VB_NETWORK, 0x00000002, true,"Network protocol related messages") VERBOSE_MAP(VB_UPNP
 
VERBOSE_PREAMBLE General info UPnP debugging messages VERBOSE_MAP (VB_FLUSH, 0x00000008, true,"") VERBOSE_MAP(VB_STDIO
 

Variables

VERBOSE_PREAMBLE true
 

Macro Definition Documentation

#define LOGLEVEL_MAP (   name,
  value,
  shortname 
)    AddLogLevel((int)(value),QStringLiteral(#name),(char)(shortname));
#define LOGLEVEL_MAP (   name,
  value,
  shortname 
)    name = (int)(value),

Definition at line 40 of file torcloggingdefs.h.

#define LOGLEVEL_POSTAMBLE
#define LOGLEVEL_POSTAMBLE   } LogLevel;

Definition at line 38 of file torcloggingdefs.h.

#define LOGLEVEL_PREAMBLE
#define LOGLEVEL_PREAMBLE   typedef enum {

Definition at line 36 of file torcloggingdefs.h.

#define TORCLOGGINGDEFS_H_
#define VERBOSE_MAP (   name,
  mask,
  additive,
  help 
)    AddVerbose((uint64_t)(mask),QStringLiteral(#name),(bool)(additive),QStringLiteral(help));
#define VERBOSE_MAP (   name,
  mask,
  additive,
  help 
)    name = (uint64_t)(mask),

Definition at line 33 of file torcloggingdefs.h.

#define VERBOSE_POSTAMBLE
#define VERBOSE_POSTAMBLE
Value:
VB_LAST_ITEM \
};

Definition at line 30 of file torcloggingdefs.h.

#define VERBOSE_PREAMBLE
#define VERBOSE_PREAMBLE   enum VerboseMask {

Definition at line 28 of file torcloggingdefs.h.

Function Documentation

VERBOSE_PREAMBLE VERBOSE_MAP ( VB_ALL  ,
0ULL,
false  ,
"ALL available debug output"   
)
VERBOSE_PREAMBLE General info VERBOSE_MAP ( VB_NETWORK  ,
0x00000002  ,
true  ,
"Network protocol related messages"   
)
VERBOSE_PREAMBLE General info UPnP debugging messages VERBOSE_MAP ( VB_FLUSH  ,
0x00000008  ,
true  ,
""   
)

Variable Documentation

VERBOSE_PREAMBLE General info UPnP debugging messages true

Definition at line 48 of file torcloggingdefs.h.