Skip to content

Commit

Permalink
using var to log fields (#19)
Browse files Browse the repository at this point in the history
  • Loading branch information
belimawr authored and rs committed Dec 27, 2017
1 parent 7ed5dc1 commit 131980f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xlog.go
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ type logger struct {
}

// Common field names for log messages.
const (
var (
KeyTime = "time"
KeyMessage = "message"
KeyLevel = "level"
Expand Down

0 comments on commit 131980f

Please sign in to comment.