We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 131ba69 commit cae2f11Copy full SHA for cae2f11
1 file changed
common/logger/infologger/hook.go
@@ -94,10 +94,8 @@ func (h *Hook) Fire(e *logrus.Entry) error {
94
vStr = string(v.([]byte)[:])
95
case fmt.Stringer:
96
vStr = v.(fmt.Stringer).String()
97
- case int:
98
- vStr = strconv.Itoa(v.(int))
99
default:
100
- vStr = "VALUE_NOT_SERIALIZABLE"
+ vStr = fmt.Sprintf("%v", v)
101
}
102
103
if _, ok := Fields[k]; ok {
0 commit comments