func github.com/gotd/log.Int
52 uses
github.com/gotd/log (current package)
attr.go#L143: func Int(key string, value int) Attr {
github.com/gotd/td/exchange
server_flow.go#L256: s.log.Debug(ctx, "Sending ServerDHParamsOk", log.Int("g", g))
github.com/gotd/td/mtproto
bind.go#L188: log.Int("attempt", attempt),
bind.go#L194: log.Int("attempt", attempt),
bind.go#L214: log.Int("attempt", attempt),
bind.go#L219: log.Int("attempt", attempt),
bind.go#L275: log.Int("attempt", attempt),
bind.go#L281: log.Int("attempt", attempt),
handle_result.go#L58: log.Int("err_code", rpcErr.ErrorCode),
rpc.go#L41: log.Int("code", code),
write.go#L78: log.Int("size_bytes", b.Len()),
zap.go#L26: return c.logWithType(b).With(log.Int("size_bytes", b.Len()))
github.com/gotd/td/rpc
engine.go#L48: log.Int("max_retries", cfg.MaxRetries),
engine.go#L152: log.Int("retries", limitErr.Retries),
engine.go#L292: log.Int("pending", pending),
github.com/gotd/td/telegram
cdn_conn_dead.go#L18: log.Int("dc_id", dcID),
cdn_conn_dead.go#L47: log.Int("dc_id", dcID),
conn_builder.go#L127: log.Int("dc_id", s.DC),
connect.go#L179: log.Int("dc_id", dc),
connection_state.go#L99: log.Int("dc_id", dc),
connection_state.go#L115: log.Int("dc_id", e.DC),
file_dc.go#L77: log.Int("from_dc", dc),
file_dc.go#L78: log.Int("dc_id", rpcErr.Argument),
file_dc.go#L79: log.Int("hop", hop+1),
invoke.go#L85: log.Int("target_dc", targetDC),
invoke.go#L181: log.Int("attempt", attempt),
invoke.go#L190: c.log.Debug(ctx, "Primary connection replaced, retrying request", log.Int("attempt", attempt))
logout.go#L88: c.log.Debug(ctx, "Guest DC log out failed", log.Int("dc_id", dc), log.Error(err))
logout.go#L93: c.log.Debug(ctx, "Close guest DC pool", log.Int("dc_id", dc), log.Error(err))
migrate_to_dc.go#L70: log.Int("from_dc", from),
migrate_to_dc.go#L71: log.Int("dc_id", dcID),
pfs.go#L22: log.Int("dc_id", dc),
pfs.go#L52: log.Int("dc_id", dcID),
pool.go#L34: Logger: c.log.Named("pool").With(log.Int("dc_id", dc)).Logger(),
pool.go#L96: log.Int("dc_id", dcID),
pool.go#L105: log.Int("dc_id", dcID),
pool.go#L107: log.Int("candidates", len(dcList)),
pool.go#L180: log.Int("dc_id", dcID),
pool.go#L217: c.log.Debug(ctx, "DC key is authorized, skipping transfer", log.Int("dc_id", dcID))
session.go#L87: c.log.Warn(ctx, "Skipping corrupted stored DC key", log.Int("dc_id", dc))
session.go#L215: c.log.Warn(ctx, "Failed to save DC keys", log.Int("dc_id", dc), log.Error(err))
session.go#L346: log.Int("dc_id", sessionData.DC),
sub_conns.go#L106: log.Int("dc_id", dc),
sub_conns.go#L226: log.Int("dc_id", dc),
sub_conns.go#L235: log.Int("dc_id", dc),
github.com/gotd/td/telegram/downloader
metrics.go#L244: o.log.Debug(ctx, "Redirected to CDN", log.Int("cdn_dc", dc))
metrics.go#L252: o.log.Debug(ctx, "CDN file reupload", log.Int("cdn_dc", dc))
metrics.go#L316: log.Int("attempt", e.Attempt),
github.com/gotd/td/telegram/internal/manager
conn.go#L165: log.Int("ongoing", c.ongoing),
conn.go#L278: log.Int("dc", c.dc),
conn.go#L300: c.log.Info(ctx, "Connection re-initialized", log.Int("dc", c.dc))
conn.go#L484: c.log.Debug(ctx, "Connection initialized, ready to invoke", log.Int("this_dc", cfg.ThisDC))
 |
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. |