github.com/gotd/log.Helper.Debug (method)
76 uses
github.com/gotd/log (current package)
helper.go#L46: 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#L232: c.log.Debug(ctx, "Sending SetClientDHParamsRequest")
client_flow.go#L244: c.log.Debug(ctx, "Received server DhGen")
server_flow.go#L110: s.log.Debug(ctx, "Received client ReqPqMultiRequest")
server_flow.go#L126: s.log.Debug(ctx, "Sending ResPQ", log.String("pq", pq.String()))
server_flow.go#L151: s.log.Debug(ctx, "Received ReqPQ again")
server_flow.go#L155: s.log.Debug(ctx, "Received client ReqDHParamsRequest")
server_flow.go#L233: s.log.Debug(ctx, "Sending ServerDHParamsOk", log.Int("g", g))
server_flow.go#L247: s.log.Debug(ctx, "Received client SetClientDHParamsRequest")
server_flow.go#L272: s.log.Debug(ctx, "Sending DhGenOk")
github.com/gotd/td/mtproto
ack.go#L24: logger.Debug(ctx, "Ack", log.Any("msg_ids", buf))
bind.go#L104: c.log.Debug(ctx, "Binding temporary auth key",
conn.go#L193: c.log.Debug(ctx, "Closing")
conn.go#L199: c.log.Debug(ctx, "Failed to cleanup connection", log.Error(err))
conn.go#L219: c.log.Debug(ctx, "Run: start")
conn.go#L220: defer c.log.Debug(ctx, "Run: end")
connect.go#L70: c.log.Debug(ctx, "Generating new session id")
connect.go#L134: 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_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(context.Background(), "Handle message", log.Int64("msg_id", msgID))
handle_result.go#L27: c.logWithBuffer(b).Debug(ctx, "Handle result", msgID)
handle_result.go#L42: c.logWithBuffer(b).Debug(ctx, "Decompressed", msgID)
handle_result.go#L56: c.log.Debug(ctx, "Got error", msgID,
handle_session_created.go#L24: c.log.Debug(ctx, "Session created",
new_encrypted_msg.go#L64: logger.Debug(context.Background(), "Request", log.Int64("msg_id", id))
ping.go#L43: c.log.Debug(context.Background(), "Pong")
read.go#L108: c.log.Debug(context.Background(), "No updates")
read.go#L140: logger.Debug(ctx, "Read loop started")
read.go#L146: l.Debug(ctx, "Read loop done")
rpc.go#L29: logger.Debug(ctx, "Invoke start")
rpc.go#L30: defer logger.Debug(ctx, "Invoke end")
rpc.go#L36: c.log.Debug(ctx, "Setting server salt")
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#L88: logger.Debug(ctx, "Do called")
engine.go#L100: logger.Debug(ctx, "Handler called")
engine.go#L166: logger.Debug(ctx, "Request dropped")
engine.go#L218: logger.Debug(ctx, "Acknowledged")
engine.go#L227: logger.Debug(ctx, "Acknowledged")
engine.go#L232: logger.Debug(ctx, "Acknowledge timed out, performing retry")
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
connect.go#L83: c.log.Debug(ctx, "Restart triggered")
connect.go#L136: c.log.Debug(context.Background(), "Ready")
connect.go#L226: c.log.Debug(ctx, "Callback returned, stopping")
invoke.go#L71: logger.Debug(ctx, "Invoking on target DC")
invoke.go#L108: c.log.Debug(ctx, "Primary connection is dead, waiting for new connection to retry",
migrate_to_dc.go#L12: c.log.Debug(ctx, "Triggering restart")
migrate_to_dc.go#L19: c.log.Debug(ctx, "Restart initialized")
pool.go#L75: c.log.Debug(ctx, "Creating pool",
session.go#L95: c.log.Debug(c.ctx, "Data saved",
github.com/gotd/td/telegram/internal/manager
conn.go#L153: c.log.Debug(context.Background(), "Invoke",
conn.go#L165: c.log.Debug(ctx, "Connection dead", log.Error(err))
conn.go#L321: c.log.Debug(ctx, "Initializing")
conn.go#L368: c.log.Debug(ctx, "Retrying connection initialization",
 |
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. |