chore: use tab to separate log info
This commit is contained in:
parent
32aa186d87
commit
3f0924871d
@ -13,8 +13,8 @@
|
||||
#define _LOG(color, level, fmt, ...) \
|
||||
do { \
|
||||
fprintf(stderr, \
|
||||
color "[" level "](%d)(%s:%d): " fmt COLOR_STDOUT_RESET "\n", \
|
||||
getpid(), __FILE__, __LINE__, ##__VA_ARGS__); \
|
||||
color "[" level "]\t(%s:%d):\t" fmt COLOR_STDOUT_RESET "\n", \
|
||||
__FILE__, __LINE__, ##__VA_ARGS__); \
|
||||
} while (0)
|
||||
|
||||
#define LOG_INFO(fmt, ...) _LOG(COLOR_GREEN, "info", fmt, ##__VA_ARGS__)
|
||||
|
Loading…
Reference in New Issue
Block a user