mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-04 04:06:06 -05:00
log: always log file:lineno
This commit is contained in:
parent
3e6321155e
commit
cea75625e2
1 changed files with 0 additions and 4 deletions
4
log.c
4
log.c
|
|
@ -65,11 +65,7 @@ _log(enum log_class log_class, const char *module, const char *file, int lineno,
|
|||
|
||||
if (colorize)
|
||||
fprintf(stderr, "\e[2m");
|
||||
#if defined(_DEBUG)
|
||||
fprintf(stderr, "%s:%d: ", file, lineno);
|
||||
#else
|
||||
fprintf(stderr, "%s: ", module);
|
||||
#endif
|
||||
if (colorize)
|
||||
fprintf(stderr, "\e[0m");
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue