go.uber.org/zap.Logger.Named (method)
13 uses
go.uber.org/zap (current package)
logger.go#L153: func (log *Logger) Named(s string) *Logger {
sugar.go#L71: return &SugaredLogger{base: s.base.Named(name)}
github.com/gotd/td/internal/mtproto
ack.go#L13: log := c.log.Named("ack")
conn.go#L158: Logger: opt.Logger.Named("rpc"),
conn.go#L205: g := tdsync.NewLogGroup(ctx, c.log.Named("group"))
connect.go#L78: WithLogger(c.log.Named("exchange")).
read.go#L134: log := c.log.Named("read")
github.com/gotd/td/internal/rpc
engine.go#L185: log = e.log.Named("retry").With(zap.Int64("msg_id", req.MsgID))
github.com/gotd/td/telegram
builder.go#L155: logger = opts.Logger.Named("test")
conn_builder.go#L80: opts.Logger = c.log.Named("conn").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(
github.com/gotd/td/telegram/internal/manager
create.go#L83: opts.Logger = conn.log.Named("mtproto")
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. |