mirror of
https://github.com/MidnightCommander/mc
synced 2025-01-24 20:22:11 +03:00
Added macros for simplest debug process (yes, gdb is a better way)
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
This commit is contained in:
parent
5441d89264
commit
a5fa537f2e
@ -11,6 +11,8 @@
|
||||
events into a central log file that can be used for debugging.
|
||||
*/
|
||||
|
||||
#define mc_log_mark() mc_log("%s:%d\n",__FILE,__LINE__)
|
||||
|
||||
extern void mc_log(const char *, ...)
|
||||
__attribute__((__format__(__printf__,1,2)));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user