aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-02-16 13:40:08 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-02-16 13:40:08 +0000
commitcea75625e209ba02179af24b735235b346663208 (patch)
tree984e5c204cfac29c20600378cf81e950459e2604
parentmeson: strip build relative paths from file macros (diff)
log: always log file:lineno
-rw-r--r--log.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/log.c b/log.c
index 4962f012..c5d90937 100644
--- a/log.c
+++ b/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");