tor  0.4.2.0-alpha-dev
Macros
debug.h File Reference
#include "lib/log/log.h"

Go to the source code of this file.

Macros

#define XSTR(d)   STR(d)
 
#define STR(s)   #s
 
#define tor_trace(subsystem, name, args...)
 

Detailed Description

Macros for debugging our event-trace support.

Definition in file debug.h.

Macro Definition Documentation

◆ tor_trace

#define tor_trace (   subsystem,
  name,
  args... 
)
Value:
log_debug(LD_GENERAL, "Trace event \"" XSTR(name) "\" from " \
"\"" XSTR(subsystem) "\" hit. " \
"(line "XSTR(__LINE__) ")")
#define LD_GENERAL
Definition: log.h:59

Definition at line 25 of file debug.h.