log
log copied to clipboard
Have log.Fielder return a map[string]interface{} ?
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:
type Fielder interface {
Fields() Fields
}
to this:
type Fielder interface {
Fields() map[string]interface{}
}
true true, might be nice for the 2.0 there were going to be some other small breakages anyway, sounds reasonable to me!