github.com/gotd/log.Helper.With (method)
14 uses
github.com/gotd/log (current package)
helper.go#L31: func (h Helper) With(attrs ...Attr) Helper {
github.com/gotd/td/mtproto
read.go#L144: l = logger.With(log.NamedError("reason", err))
rpc.go#L26: logger := c.log.With(
zap.go#L26: return c.logWithType(b).With(log.Int("size_bytes", b.Len()))
zap.go#L40: return c.log.With(logType{
github.com/gotd/td/rpc
ack.go#L31: logger := e.log.With(log.Int64("ack_id", id))
engine.go#L87: logger := e.log.With(log.Int64("msg_id", req.MsgID))
engine.go#L196: logger = e.log.Named("retry").With(log.Int64("msg_id", req.MsgID))
github.com/gotd/td/tdsync
log_group.go#L42: l := log.For(g.log).With(log.String("task", taskName))
github.com/gotd/td/telegram
client.go#L213: client.log = client.log.With(log.String("v", v))
conn_builder.go#L101: opts.Logger = c.log.Named("conn").With(
invoke.go#L63: logger := c.log.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(
![]() |
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. |