MCPcopy
hub / github.com/go-qml/qml / StdLogger

Interface StdLogger

log.go:53–57  ·  view source on GitHub ↗

The StdLogger interface is implemented by standard *log.Logger values. Values that implement either StdLogger or QmlLogger may be provided to the SetLogger function.

Source from the content-addressed store, hash-verified

51// Values that implement either StdLogger or QmlLogger may be provided
52// to the SetLogger function.
53type StdLogger interface {
54 // Output is called whenever a new message is available for logging.
55 // See the standard log.Logger type for more details.
56 Output(calldepth int, s string) error
57}
58
59// NOTE: LogMessage is an interface to avoid allocating and copying
60// several strings for each logged message.

Callers 1

QmlOutputMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected