MCPcopy
hub / github.com/op/go-logging / Format

Method Format

format.go:105–105  ·  view source on GitHub ↗
(calldepth int, r *Record, w io.Writer)

Source from the content-addressed store, hash-verified

103// Formatter is the required interface for a custom log record formatter.
104type Formatter interface {
105 Format(calldepth int, r *Record, w io.Writer) error
106}
107
108// formatter is used by all backends unless otherwise overriden.

Callers 4

BenchmarkStringFormatterFunction · 0.65
FormattedMethod · 0.65
NewStringFormatterFunction · 0.65
FormatMethod · 0.65

Implementers 1

Calls

no outgoing calls

Tested by 1

BenchmarkStringFormatterFunction · 0.52