LogValue implements the [slog.LogValuer] interface.
()
| 126 | |
| 127 | // LogValue implements the [slog.LogValuer] interface. |
| 128 | func (e *errTrace) LogValue() slog.Value { |
| 129 | return slog.StringValue(FormatString(e)) |
| 130 | } |
| 131 | |
| 132 | // TracePC returns the program counter for the location |
| 133 | // in the frame that the error originated with. |
nothing calls this directly
no test coverage detected