Zaptext Zap text encoder instance Using example cfg := zapcore.NewProductionEncoderConfig() zaptext.NewTextencoder(cfg) Thanks zap: Refer to some implementations