go.uber.org/zap.Logger.With (method)
15 uses
go.uber.org/zap (current package)
logger.go#L179: func (log *Logger) With(fields ...Field) *Logger {
sugar.go#L115: return &SugaredLogger{base: s.base.With(s.sweetenFields(args)...)}
github.com/gotd/td/internal/mtproto
read.go#L139: l = log.With(zap.NamedError("reason", err))
rpc.go#L26: log := c.log.With(
zap.go#L27: return c.logWithType(b).With(zap.Int("size_bytes", b.Len()))
zap.go#L41: return c.log.With(zap.Inline(logType{
github.com/gotd/td/internal/rpc
ack.go#L28: log := e.log.With(zap.Int64("ack_id", id))
engine.go#L86: log := e.log.With(zap.Int64("msg_id", req.MsgID))
engine.go#L185: log = e.log.Named("retry").With(zap.Int64("msg_id", req.MsgID))
github.com/gotd/td/internal/tdsync
log_group.go#L42: l := g.log.With(zap.String("task", taskName)).WithOptions(zap.AddCallerSkip(1))
github.com/gotd/td/telegram
client.go#L172: client.log = client.log.With(zap.String("v", v))
conn_builder.go#L80: opts.Logger = c.log.Named("conn").With(
invoke.go#L59: log := c.log.With(
pool.go#L32: Logger: c.log.Named("pool").With(zap.Int("dc_id", dc)),
pool.go#L80: options.Logger = c.log.Named("conn").With(
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. |