Skip to content

Commit

Permalink
fix log format (#108)
Browse files Browse the repository at this point in the history
  • Loading branch information
JunNishimura committed Jun 12, 2023
1 parent b220a6f commit ae17e68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/log/logger.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ func (r *record) String() string {
} else {
fromStr = r.from.String()
}
return fmt.Sprintf("%s %s %s <%s> %s %s\t%s: %s", fromStr, r.to, r.name, r.email, r.unixtime, r.timeDiff, r.recType, r.message)
return fmt.Sprintf("%s %s %s <%s> %s %s\t%s: %s\n", fromStr, r.to, r.name, r.email, r.unixtime, r.timeDiff, r.recType, r.message)
}

type GoitLogger struct {
Expand Down

0 comments on commit ae17e68

Please sign in to comment.