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

Interface Backend

backend.go:12–14  ·  view source on GitHub ↗

Backend is the interface which a log backend need to implement to be able to be used as a logging backend.

Source from the content-addressed store, hash-verified

10// Backend is the interface which a log backend need to implement to be able to
11// be used as a logging backend.
12type Backend interface {
13 Log(Level, int, *Record) error
14}
15
16// SetBackend replaces the backend currently set with the given new logging
17// backend.

Callers 4

logMethod · 0.65
LogMethod · 0.65
LogMethod · 0.65
LogMethod · 0.65

Implementers 8

structFuncformat_test.go
LogBackendlog_windows.go
MemoryBackendmemory.go
multiLoggermulti.go
SyslogBackendsyslog.go

Calls

no outgoing calls

Tested by

no test coverage detected