DCL 4.0
Loading...
Searching...
No Matches
_trace.h File Reference
#include <stdio.h>
#include <stdarg.h>

Go to the source code of this file.

Macros

#define __DEBUG_TRACE__   "/dev/pts/0"
#define __THIS_FILE__   __FILE__
#define _TRACE0(str)
#define _TRACE1(fmt, arg1)
#define _TRACE2(fmt, arg1, arg2)
#define _TRACE3(fmt, arg1, arg2, arg3)

Macro Definition Documentation

◆ __DEBUG_TRACE__

#define __DEBUG_TRACE__   "/dev/pts/0"

Definition at line 10 of file _trace.h.

◆ __THIS_FILE__

#define __THIS_FILE__   __FILE__

Definition at line 14 of file _trace.h.

◆ _TRACE0

#define _TRACE0 ( str)
Value:
trace("%s(%d) %s: %s", __THIS_FILE__, __LINE__, __PRETTY_FUNCTION__, str)
#define __THIS_FILE__
Definition _trace.h:14

Definition at line 35 of file _trace.h.

35#define _TRACE0(str) \
36 trace("%s(%d) %s: %s", __THIS_FILE__, __LINE__, __PRETTY_FUNCTION__, str)

◆ _TRACE1

#define _TRACE1 ( fmt,
arg1 )
Value:
trace("%s(%d) %s: " fmt, __THIS_FILE__, __LINE__, __PRETTY_FUNCTION__, arg1)

Definition at line 37 of file _trace.h.

37#define _TRACE1(fmt, arg1) \
38 trace("%s(%d) %s: " fmt, __THIS_FILE__, __LINE__, __PRETTY_FUNCTION__, arg1)

◆ _TRACE2

#define _TRACE2 ( fmt,
arg1,
arg2 )
Value:
trace("%s(%d) %s: " fmt, __THIS_FILE__, __LINE__, __PRETTY_FUNCTION__, arg1, arg2)

Definition at line 39 of file _trace.h.

39#define _TRACE2(fmt, arg1, arg2) \
40 trace("%s(%d) %s: " fmt, __THIS_FILE__, __LINE__, __PRETTY_FUNCTION__, arg1, arg2)

◆ _TRACE3

#define _TRACE3 ( fmt,
arg1,
arg2,
arg3 )
Value:
trace("%s(%d) %s: " fmt, __THIS_FILE__, __LINE__, __PRETTY_FUNCTION__, arg1, arg2, arg3)

Definition at line 41 of file _trace.h.

41#define _TRACE3(fmt, arg1, arg2, arg3) \
42 trace("%s(%d) %s: " fmt, __THIS_FILE__, __LINE__, __PRETTY_FUNCTION__, arg1, arg2, arg3)