DCL 3.7.4
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_H__   20061110
#define __DEBUG_TRACE__   "/dev/pts/0"
#define __THIS_FILE__   L"" __FILE__
#define _TRACE0(str)
#define _TRACE1(fmt, arg1)
#define _TRACE2(fmt, arg1, arg2)
#define _TRACE3(fmt, arg1, arg2, arg3)
#define _TRACE4(fmt, arg1, arg2, arg3, arg4)

Macro Definition Documentation

◆ __DEBUG_H__

#define __DEBUG_H__   20061110

Definition at line 2 of file _trace.h.

◆ __DEBUG_TRACE__

#define __DEBUG_TRACE__   "/dev/pts/0"

Definition at line 10 of file _trace.h.

◆ __THIS_FILE__

#define __THIS_FILE__   L"" __FILE__

Definition at line 14 of file _trace.h.

◆ _TRACE0

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

Definition at line 34 of file _trace.h.

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

◆ _TRACE1

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

Definition at line 36 of file _trace.h.

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

◆ _TRACE2

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

Definition at line 38 of file _trace.h.

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

◆ _TRACE3

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

Definition at line 40 of file _trace.h.

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

◆ _TRACE4

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

Definition at line 42 of file _trace.h.

42#define _TRACE4(fmt, arg1, arg2, arg3, arg4) \
43 trace("%ls(%d) %s: " fmt, __THIS_FILE__, __LINE__, __PRETTY_FUNCTION__, arg1, arg2, arg3, arg4)