Skip to content

Commit

Permalink
feat: Make the caller info column 40 chars wide instead.
Browse files Browse the repository at this point in the history
30 chars is too small for most cases leading to much of the useful text
getting truncated. Use 40 chars instead.
  • Loading branch information
Tuxdude committed Mar 5, 2022
1 parent 548d3a2 commit cab81a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion logger.go
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ func (l *loggerImpl) log(lvl Level, skipFrames int, format string, args ...inter
return
}

f := "%s %s %-30s " + format + "\n"
f := "%s %s %-40s " + format + "\n"
a := []interface{}{
time.Now().Format(timestampFormat),
l.levelStr[lvl],
Expand Down

0 comments on commit cab81a6

Please sign in to comment.