Recordf is the printf variant of Record.
(source string, level Level, format string, args ...any)
| 86 | |
| 87 | // Recordf is the printf variant of Record. |
| 88 | func Recordf(source string, level Level, format string, args ...any) uint64 { |
| 89 | return record(0, source, level, fmt.Sprintf(format, args...), "") |
| 90 | } |
| 91 | |
| 92 | // Recordp appends an event with an attached payload (full request JSON, |
| 93 | // tool output, before/after transcript) and returns its ID. Payload is |