MCPcopy Create free account
hub / github.com/betta-tech/byo-coding-agent / Recordpc

Function Recordpc

internal/debug/debug.go:103–105  ·  view source on GitHub ↗

Recordpc is Recordp with a correlation back to a previously-recorded event. The new event's CorrelatedID is set to startID; Pair() can then walk the link in either direction from the UI.

(startID uint64, source string, level Level, message, payload string)

Source from the content-addressed store, hash-verified

101// event. The new event's CorrelatedID is set to startID; Pair() can then
102// walk the link in either direction from the UI.
103func Recordpc(startID uint64, source string, level Level, message, payload string) uint64 {
104 return record(startID, source, level, message, truncatePayload(payload))
105}
106
107// Recordfc is Recordf with a correlation back to a previously-recorded
108// event. Used for the error-path response that pairs with an in-flight

Callers 4

SendMethod · 0.92
SendMethod · 0.92
executeToolMethod · 0.92

Calls 2

recordFunction · 0.85
truncatePayloadFunction · 0.85

Tested by 1