github.com/gotd/log.Helper.Named (method)
12 uses
github.com/gotd/log (current package)
helper.go#L50: func (h Helper) Named(name string) Helper {
github.com/gotd/td/mtproto
ack.go#L13: logger := c.log.Named("ack")
bind.go#L243: Logger: c.log.Named("perm_key_check").Logger(),
conn.go#L271: g := tdsync.NewLogGroup(ctx, c.log.Named("group").Logger())
connect.go#L119: WithLogger(c.log.Named("exchange").Logger()).
ping.go#L129: logger := c.log.Named("ping")
read.go#L214: logger := c.log.Named("read")
github.com/gotd/td/rpc
engine.go#L221: logger = e.log.Named("retry").With(log.Int64("msg_id", req.MsgID))
github.com/gotd/td/telegram
conn_builder.go#L125: opts.Logger = c.log.Named("conn").With(
pool.go#L34: Logger: c.log.Named("pool").With(log.Int("dc_id", dc)).Logger(),
pool.go#L178: options.Logger = c.log.Named("conn").With(
github.com/gotd/td/telegram/internal/manager
create.go#L103: opts.Logger = conn.log.Named("mtproto").Logger()
![]() |
The pages are generated with Golds v0.8.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 @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |