Have log.Fielder return a map[string]interface{} ?
Aperta
- Lingua principale
- Go
- Stelle
- 1.4k
- Fork
- 110
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
Right now you can't implement a custom fielder without pulling in the `apex/log` library.
I'm not sure if this would be a breaking change or not, but it'd be nice to change:
```go
type Fielder interface {
Fields() Fields
}
```
to this:
```go
type Fielder interface {
Fields() map[string]interface{}
}
```
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Valutazione
Questa issue non è ancora stata valutata.