Skip to content

Commit

Permalink
accept stackdriver 'severity' tag as level
Browse files Browse the repository at this point in the history
  • Loading branch information
Valient Gough authored and Antoine Grondin committed Jul 22, 2020
1 parent 34aa9a8 commit e91479b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion json_handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ var supportedTimeFields = []string{"time", "ts", "@timestamp", "timestamp"}
var supportedMessageFields = []string{"message", "msg"}

// supportedLevelFields enumarates supported level field names
var supportedLevelFields = []string{"level", "lvl", "loglevel"}
var supportedLevelFields = []string{"level", "lvl", "loglevel", "severity"}

func (h *JSONHandler) clear() {
h.Level = ""
Expand Down

0 comments on commit e91479b

Please sign in to comment.