You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, setting the encoding is pretty annoying and requires to
import two more packages apart from log/zap:
```
encoderConfig := uberzap.NewProductionEncoderConfig()
zap.New(zap.Encoder(zapcore.NewJSONEncoder(encoderConfig)))
```
This PR adds a JSONEncoder and ConsoleEncoder opt to simplify this
0 commit comments