Dayz Explorer 1.28.160049
Loading...
Searching...
No Matches
debug.c
Go to the documentation of this file.
1void syncDebugPrint (string s)
2{
3#ifdef LOG_TO_RPT
4 PrintToRPT("" + s); // comment/uncomment to hide/see debug logs
5#endif
6
7#ifdef LOG_TO_SCRIPT
8 Print(string.Format("%1", s));
9#endif
10}
11
12void actionDebugPrint (string s)
13{
14#ifdef LOG_TO_RPT
15 PrintToRPT("" + s); // comment/uncomment to hide/see debug logs
16#endif
17
18#ifdef LOG_TO_SCRIPT
19 Print(string.Format("%1", s));
20#endif
21}
22
23void inventoryDebugPrint (string s)
24{
25#ifdef LOG_TO_RPT
26 PrintToRPT("" + s); // comment/uncomment to hide/see debug logs
27#endif
28
29#ifdef LOG_TO_SCRIPT
30 Print(string.Format("%1", s));
31#endif
32}
void syncDebugPrint(string s)
Definition debug.c:1
void inventoryDebugPrint(string s)
Definition debug.c:23
void actionDebugPrint(string s)
Definition debug.c:12
proto void Print(void var)
Prints content of variable to console/log.
proto void PrintToRPT(void var)
Prints content of variable to RPT file (performance warning - each write means fflush!...