Browse Source

log: align level tags IO DEBUG INFO and UNUSUAL

This aligns all log TAGs except **BROKEN** which would require too many
spaces for all the other logs.

Changelog-None
bump-pyln-proto
Michael Schmoock 4 years ago
committed by Rusty Russell
parent
commit
c2f5e8ce73
  1. 6
      lightningd/log.c

6
lightningd/log.c

@ -106,11 +106,11 @@ static const char *level_prefix(enum log_level level)
switch (level) {
case LOG_IO_OUT:
case LOG_IO_IN:
return "IO";
return "IO ";
case LOG_DBG:
return "DEBUG";
return "DEBUG ";
case LOG_INFORM:
return "INFO";
return "INFO ";
case LOG_UNUSUAL:
return "UNUSUAL";
case LOG_BROKEN:

Loading…
Cancel
Save