type go.uber.org/zap/zapcore.Encoder
14 uses
go.uber.org/zap/zapcore (current package)
console_encoder.go#L58: func NewConsoleEncoder(cfg EncoderConfig) Encoder {
console_encoder.go#L66: func (c consoleEncoder) Clone() Encoder {
core.go#L58: func NewCore(enc Encoder, ws WriteSyncer, enab LevelEnabler) Core {
core.go#L68: enc Encoder
encoder.go#L440: type Encoder interface {
encoder.go#L445: Clone() Encoder
json_encoder.go#L77: func NewJSONEncoder(cfg EncoderConfig) Encoder {
json_encoder.go#L346: func (enc *jsonEncoder) Clone() Encoder {
go.uber.org/zap
config.go#L328: func (cfg Config) buildEncoder() (zapcore.Encoder, error) {
encoder.go#L34: _encoderNameToConstructor = map[string]func(zapcore.EncoderConfig) (zapcore.Encoder, error){
encoder.go#L35: "console": func(encoderConfig zapcore.EncoderConfig) (zapcore.Encoder, error) {
encoder.go#L38: "json": func(encoderConfig zapcore.EncoderConfig) (zapcore.Encoder, error) {
encoder.go#L51: func RegisterEncoder(name string, constructor func(zapcore.EncoderConfig) (zapcore.Encoder, error)) error {
encoder.go#L64: func newEncoder(name string, encoderConfig zapcore.EncoderConfig) (zapcore.Encoder, error) {
|
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |