github.com/gotd/log.Helper.Named (method)
10 uses
github.com/gotd/log (current package)
helper.go#L36: func (h Helper) Named(name string) Helper {
github.com/gotd/td/mtproto
ack.go#L13: logger := c.log.Named("ack")
conn.go#L226: g := tdsync.NewLogGroup(ctx, c.log.Named("group").Logger())
connect.go#L113: WithLogger(c.log.Named("exchange").Logger()).
read.go#L139: logger := c.log.Named("read")
github.com/gotd/td/rpc
engine.go#L196: logger = e.log.Named("retry").With(log.Int64("msg_id", req.MsgID))
github.com/gotd/td/telegram
conn_builder.go#L101: opts.Logger = c.log.Named("conn").With(
pool.go#L34: Logger: c.log.Named("pool").With(log.Int("dc_id", dc)).Logger(),
pool.go#L142: options.Logger = c.log.Named("conn").With(
github.com/gotd/td/telegram/internal/manager
create.go#L91: opts.Logger = conn.log.Named("mtproto").Logger()
![]() |
The pages are generated with Golds v0.8.4. (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. |