github.com/gotd/log.Helper.Debug (method)
118 uses
github.com/gotd/log (current package)
helper.go#L60: func (h Helper) Debug(ctx context.Context, msg string, attrs ...Attr) {
github.com/gotd/td/exchange
client_flow.go#L26: c.log.Debug(ctx, "Sending ReqPqMultiRequest")
client_flow.go#L37: c.log.Debug(ctx, "Received server ResPQ")
client_flow.go#L76: c.log.Debug(ctx, "PQ decomposing complete", log.Duration("took", c.clock.Now().Sub(start)))
client_flow.go#L140: c.log.Debug(ctx, "Sending ReqDHParamsRequest")
client_flow.go#L149: c.log.Debug(ctx, "Received server ServerDHParams")
client_flow.go#L233: c.log.Debug(ctx, "Sending SetClientDHParamsRequest")
client_flow.go#L245: c.log.Debug(ctx, "Received server DhGen")
server_flow.go#L133: s.log.Debug(ctx, "Received client ReqPqMultiRequest")
server_flow.go#L149: s.log.Debug(ctx, "Sending ResPQ", log.String("pq", pq.String()))
server_flow.go#L174: s.log.Debug(ctx, "Received ReqPQ again")
server_flow.go#L178: s.log.Debug(ctx, "Received client ReqDHParamsRequest")
server_flow.go#L256: s.log.Debug(ctx, "Sending ServerDHParamsOk", log.Int("g", g))
server_flow.go#L270: s.log.Debug(ctx, "Received client SetClientDHParamsRequest")
server_flow.go#L295: s.log.Debug(ctx, "Sending DhGenOk")
github.com/gotd/td/mtproto
ack.go#L24: logger.Debug(ctx, "Session changed, dropping pending acks", log.Any("msg_ids", buf))
ack.go#L36: logger.Debug(ctx, "Ack",
ack.go#L56: logger.Debug(ctx, "Session changed, dropping pending acks", log.Any("msg_ids", buf))
bind.go#L125: c.log.Debug(ctx, "Binding temporary auth key",
conn.go#L226: c.log.Debug(ctx, "Closing")
conn.go#L232: c.log.Debug(ctx, "Failed to cleanup connection", log.Error(err))
conn.go#L255: c.log.Debug(ctx, "Run: start")
conn.go#L256: defer c.log.Debug(ctx, "Run: end")
connect.go#L76: c.log.Debug(ctx, "Generating new session id")
connect.go#L140: c.log.Debug(ctx, "Initializing new key exchange", attrs...)
handle_ack.go#L19: c.log.Debug(context.Background(), "Received ack", log.Any("msg_ids", ack.MsgIDs))
handle_container.go#L42: c.log.Debug(ctx, "Ignoring duplicate message in container", log.Int64("msg_id", msg.ID))
handle_future_salts.go#L24: c.log.Debug(context.Background(), "Got future salts", log.Time("server_time", serverTime))
handle_message.go#L21: c.logWithBuffer(b).Debug(ctx, "Handle message", log.Int64("msg_id", msgID))
handle_result.go#L28: c.logWithBuffer(b).Debug(ctx, "Handle result", msgID)
handle_result.go#L43: c.logWithBuffer(b).Debug(ctx, "Decompressed", msgID)
handle_result.go#L57: c.log.Debug(ctx, "Got error", msgID,
handle_session_created.go#L24: c.log.Debug(ctx, "Session created",
new_encrypted_msg.go#L80: logger.Debug(context.Background(), "Request", log.Int64("msg_id", id))
ping.go#L46: c.log.Debug(context.Background(), "Pong")
ping.go#L140: logger.Debug(ctx, "Sending ping", log.Duration("timeout", c.pingTimeout))
ping.go#L157: logger.Debug(ctx, "Ping acknowledged", log.Duration("elapsed", elapsed))
read.go#L72: c.log.Debug(context.Background(), "Server time offset updated",
read.go#L175: c.log.Debug(context.Background(), "No updates")
read.go#L215: logger.Debug(ctx, "Read loop started")
read.go#L221: l.Debug(ctx, "Read loop done")
rpc.go#L91: logger.Debug(ctx, "Invoke start")
rpc.go#L92: defer logger.Debug(ctx, "Invoke end")
rpc.go#L108: c.log.Debug(ctx, "Setting server salt")
session.go#L73: c.log.Debug(ctx, "Continuing session", log.Int32("content_messages", n))
write.go#L80: logger.Debug(ctx, "Sending message")
write.go#L83: logger.Debug(ctx, "Send failed", log.Error(err), log.Duration("elapsed", c.clock.Now().Sub(locked)))
github.com/gotd/td/pool
pool.go#L120: c.log.Debug(ctx, "Connection died",
pool.go#L148: c.log.Debug(ctx, "Transfer connection to requester", log.Int64("conn_id", r.id))
pool.go#L151: c.log.Debug(ctx, "Connection released", log.Int64("conn_id", r.id))
pool.go#L169: c.log.Debug(ctx, "Re-using free connection", log.Int64("conn_id", r.id))
pool.go#L180: c.log.Debug(ctx, "Creating new connection",
pool.go#L200: c.log.Debug(ctx, "Waiting for free connect", log.Int64("request_id", int64(key)))
pool.go#L204: c.log.Debug(ctx, "Got connection for request",
pool.go#L210: c.log.Debug(ctx, "Some connection dead, try to create new connection, cancel waiting")
pool.go#L256: c.log.Debug(ctx, "DC Invoke")
pool.go#L265: c.log.Debug(ctx, "DC Invoke failed on dead connection, retrying",
pool.go#L273: c.log.Debug(ctx, "DC Invoke failed", log.Error(err))
pool.go#L277: c.log.Debug(ctx, "DC Invoke complete")
pool.go#L289: c.log.Debug(ctx, "Closing DC")
pool.go#L290: defer c.log.Debug(ctx, "DC closed")
github.com/gotd/td/rpc
ack.go#L17: e.log.Debug(context.Background(), "Acknowledge callback not set", log.Int64("msg_id", id))
ack.go#L37: logger.Debug(ctx, "Waiting for acknowledge")
engine.go#L95: logger.Debug(ctx, "Do called")
engine.go#L107: logger.Debug(ctx, "Handler called")
engine.go#L165: logger.Debug(ctx, "Acknowledged, waiting for result", log.Bool("sent", sent))
engine.go#L169: logger.Debug(ctx, "Context done before result", log.Bool("sent", sent), log.Error(ctx.Err()))
engine.go#L189: logger.Debug(ctx, "Request dropped")
engine.go#L202: logger.Debug(ctx, "Engine closed while waiting for result")
engine.go#L205: logger.Debug(ctx, "Result received", log.Error(resultErr))
engine.go#L243: logger.Debug(ctx, "Acknowledged")
engine.go#L252: logger.Debug(ctx, "Acknowledged")
engine.go#L257: logger.Debug(ctx, "Acknowledge timed out, performing retry")
engine.go#L269: logger.Debug(ctx, "Retry limit reached")
github.com/gotd/td/tdsync
log_group.go#L43: l.Debug(ctx, "Task started")
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
account_status.go#L141: c.log.Debug(ctx, "Service notification", log.String("type", u.Type))
account_status.go#L242: c.log.Debug(ctx, "Request refused: account is frozen",
connect.go#L99: c.log.Debug(ctx, "Restart triggered")
connect.go#L189: c.log.Debug(context.Background(), "Primary connection replaced after restart")
connect.go#L194: c.log.Debug(context.Background(), "Ready")
connect.go#L337: c.log.Debug(ctx, "Callback returned, stopping")
connection_state.go#L97: c.log.Debug(ctx, "Connection state",
connection_state.go#L121: c.log.Debug(ctx, "Connection dead", fields...)
file_dc.go#L76: f.client.log.Debug(ctx, "Following FILE_MIGRATE",
invoke.go#L91: logger.Debug(ctx, "Invoking on target DC")
invoke.go#L179: c.log.Debug(ctx, "Primary connection is dead, waiting for new connection to retry",
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#L18: c.log.Debug(ctx, "Triggering restart", log.String("reason", reason))
migrate_to_dc.go#L27: c.log.Debug(ctx, "Restart initialized")
pool.go#L95: c.log.Debug(ctx, "Creating pool on primary session",
pool.go#L104: c.log.Debug(ctx, "Creating pool",
pool.go#L217: c.log.Debug(ctx, "DC key is authorized, skipping transfer", log.Int("dc_id", dcID))
session.go#L251: c.log.Debug(ctx, "Update handler failed on updatesTooLong", log.Error(err))
session.go#L333: c.log.Debug(c.ctx, "Data saved",
session.go#L345: c.log.Debug(context.Background(), "Ignoring session with dropped auth key",
sub_conns.go#L223: logFailure = c.log.Debug
sub_conns.go#L234: c.log.Debug(ctx, "Pool created",
github.com/gotd/td/telegram/downloader
metrics.go#L227: o.log.Debug(ctx, "Download failed", log.Error(err))
metrics.go#L236: o.log.Debug(ctx, "Resume download", log.Int64("offset", offset))
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#L269: o.log.Debug(ctx, "File reference refreshed")
metrics.go#L284: o.log.Debug(ctx, "Scheduler backoff", log.String("reason", reason))
metrics.go#L301: o.log.Debug(ctx, "Verified local file",
metrics.go#L314: o.log.Debug(ctx, "Retry",
github.com/gotd/td/telegram/internal/manager
conn.go#L163: c.log.Debug(context.Background(), "Invoke",
conn.go#L175: c.log.Debug(ctx, "Connection dead", log.Error(err))
conn.go#L204: c.log.Debug(ctx, "Invoke waiting for connection to become ready")
conn.go#L208: c.log.Debug(ctx, "Connection became ready", log.Duration("waited", c.clock.Now().Sub(start)))
conn.go#L211: c.log.Debug(ctx, "Connection died while waiting for readiness", log.Duration("waited", c.clock.Now().Sub(start)))
conn.go#L214: c.log.Debug(ctx, "Context done while waiting for connection readiness",
conn.go#L430: c.log.Debug(ctx, "Initializing")
conn.go#L466: c.log.Debug(ctx, "Retrying connection initialization",
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. |