Commit 03121daf9bc9e0dfb79abf36c1bf5f3f379353bf
1 parent
7dab6e0054
Exists in
master
extra padding on tracing message
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
main.go
... | ... | @@ -129,7 +129,7 @@ func (l *Logger) Trace(format string, v ...interface{}) { |
129 | 129 | stack := CallStack() |
130 | 130 | |
131 | 131 | msg := fmt.Sprintf(format, v...) |
132 | - s := fmt.Sprintf("%s:\n%s\n%s\n", time.Now().Format(dateTimeFormat), stack, msg) | |
132 | + s := fmt.Sprintf("%s:\n%s\n%s\n\n", time.Now().Format(dateTimeFormat), stack, msg) | |
133 | 133 | |
134 | 134 | if l.shouldSplit(len(s)) { |
135 | 135 | l.split() | ... | ... |