Recordfc is Recordf with a correlation back to a previously-recorded event. Used for the error-path response that pairs with an in-flight request.
(startID uint64, source string, level Level, format string, args ...any)
| 108 | // event. Used for the error-path response that pairs with an in-flight |
| 109 | // request. |
| 110 | func Recordfc(startID uint64, source string, level Level, format string, args ...any) uint64 { |
| 111 | return record(startID, source, level, fmt.Sprintf(format, args...), "") |
| 112 | } |
| 113 | |
| 114 | // record is the shared implementation. The sink (if any) is called outside |
| 115 | // the lock to avoid re-entrancy from sinks that take their own lock. |
no test coverage detected