Skip to content

Commit

Permalink
Autospace logger labels (#30)
Browse files Browse the repository at this point in the history
* check tx returns

* again

* fix again

* fix logger
  • Loading branch information
keefertaylor authored Jan 23, 2024
1 parent 8305df0 commit 894abab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion log/logger.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ func newLoggerWithPrefix(prefix string) *Logger {
}

func (l *Logger) ApplyPrefix(additionalPrefix string) *Logger {
newPrefix := fmt.Sprintf("%s%s", l.prefix, additionalPrefix)
newPrefix := fmt.Sprintf("%s %s", l.prefix, additionalPrefix)

return newLoggerWithPrefix(newPrefix)
}

0 comments on commit 894abab

Please sign in to comment.