func github.com/gotd/log.Duration
13 uses
github.com/gotd/log (current package)
attr.go#L172: func Duration(key string, value time.Duration) Attr {
github.com/gotd/td/exchange
client_flow.go#L76: c.log.Debug(ctx, "PQ decomposing complete", log.Duration("took", c.clock.Now().Sub(start)))
github.com/gotd/td/mtproto
connect.go#L60: log.Duration("duration", c.clock.Now().Sub(start)),
connect.go#L87: log.Duration("duration", c.clock.Now().Sub(start)),
connect.go#L100: log.Duration("duration", c.clock.Now().Sub(start)),
connect.go#L129: log.Duration("timeout", c.exchangeTimeout),
handle_session_created.go#L34: log.Duration("time_difference", now.Sub(created)),
github.com/gotd/td/rpc
engine.go#L44: log.Duration("retry_interval", cfg.RetryInterval),
github.com/gotd/td/tdsync
log_group.go#L47: l.Debug(ctx, "Task stopped", log.Error(err), log.Duration("elapsed", elapsed))
log_group.go#L52: l.Debug(ctx, "Task complete", log.Duration("elapsed", elapsed))
github.com/gotd/td/telegram
connect.go#L124: c.log.Info(context.Background(), "Restarting connection", log.Error(err), log.Duration("backoff", timeout))
github.com/gotd/td/telegram/internal/manager
conn.go#L154: log.Duration("duration", end.Sub(start)),
conn.go#L369: log.Error(err), log.Duration("duration", duration),
 |
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. |