MCPcopy
hub / github.com/uber-go/zap / Format

Method Format

zapcore/error_test.go:56–61  ·  view source on GitHub ↗
(s fmt.State, verb rune)

Source from the content-addressed store, hash-verified

54}
55
56func (e errTooFewUsers) Format(s fmt.State, verb rune) {
57 if verb == 'v' && s.Flag('+') {
58 _, _ = io.WriteString(s, "verbose: ")
59 _, _ = io.WriteString(s, e.Error())
60 }
61}
62
63type customMultierr struct{}
64

Callers 1

encodeTimeLayoutFunction · 0.45

Calls 2

ErrorMethod · 0.95
WriteStringMethod · 0.80

Tested by

no test coverage detected