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

Struct backendFormatter

format.go:397–400  ·  view source on GitHub ↗

backendFormatter combines a backend with a specific formatter making it possible to have different log formats for different backends.

Source from the content-addressed store, hash-verified

395// backendFormatter combines a backend with a specific formatter making it
396// possible to have different log formats for different backends.
397type backendFormatter struct {
398 b Backend
399 f Formatter
400}
401
402// NewBackendFormatter creates a new backend which makes all records that
403// passes through it beeing formatted by the specific formatter.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected