MCPcopy Index your code
hub / github.com/bracesdev/errtrace / LogValue

Method LogValue

errtrace.go:128–130  ·  view source on GitHub ↗

LogValue implements the [slog.LogValuer] interface.

()

Source from the content-addressed store, hash-verified

126
127// LogValue implements the [slog.LogValuer] interface.
128func (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.

Callers

nothing calls this directly

Calls 1

FormatStringFunction · 0.85

Tested by

no test coverage detected