in plugins/plugins.go [70:79]
func EncodeLogKey(log *interface{}) ([]byte, error) { switch t := (*log).(type) { case []byte: return t, nil case string: return []byte(t), nil default: return json.Marshal(log) } }