|
|
@ -118,10 +118,10 @@ extern int use_syslog; |
|
|
|
char timestr[20]; \ |
|
|
|
strftime(timestr, 20, TIME_FORMAT, localtime(&now)); \ |
|
|
|
if (use_tty) { \ |
|
|
|
fprintf(stderr, "\e[01;32m %s INFO: \e[0m" format "\n", timestr, \ |
|
|
|
fprintf(stdout, "\e[01;32m %s INFO: \e[0m" format "\n", timestr, \ |
|
|
|
## __VA_ARGS__); \ |
|
|
|
} else { \ |
|
|
|
fprintf(stderr, " %s INFO: " format "\n", timestr, \ |
|
|
|
fprintf(stdout, " %s INFO: " format "\n", timestr, \ |
|
|
|
## __VA_ARGS__); \ |
|
|
|
} \ |
|
|
|
} \ |
|
|
|