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

Struct stringFormatter

format.go:147–149  ·  view source on GitHub ↗

stringFormatter contains a list of parts which explains how to build the formatted string passed on to the logging backend.

Source from the content-addressed store, hash-verified

145// stringFormatter contains a list of parts which explains how to build the
146// formatted string passed on to the logging backend.
147type stringFormatter struct {
148 parts []part
149}
150
151// NewStringFormatter returns a new Formatter which outputs the log record as a
152// string based on the 'verbs' specified in the format string.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected