Skip to content

Commit

Permalink
Merge pull request #6 from blendle/time-key
Browse files Browse the repository at this point in the history
Use correct timestamp key name
  • Loading branch information
JeanMertz authored Jun 9, 2018
2 parents 2d60034 + be6a0d1 commit d2d292b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion encoder.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ var logLevelSeverity = map[zapcore.Level]string{
// encoderConfig is the default encoder configuration, slightly tweaked to use
// the correct fields for Stackdriver to parse them.
var encoderConfig = zapcore.EncoderConfig{
TimeKey: "timestamp",
TimeKey: "time",
LevelKey: "severity",
NameKey: "logger",
CallerKey: "caller",
Expand Down

0 comments on commit d2d292b

Please sign in to comment.