MCPcopy Create free account
hub / github.com/CPChain/chain / SetOutput

Function SetOutput

commons/log/exported.go:63–65  ·  view source on GitHub ↗

SetOutput sets the logger output.

(output io.Writer)

Source from the content-addressed store, hash-verified

61
62// SetOutput sets the logger output.
63func SetOutput(output io.Writer) {
64 root.SetOutput(output)
65}
66
67// SetFormatter sets the logger formatter.
68func SetFormatter(formatter logrus.Formatter) {

Callers

nothing calls this directly

Calls 1

SetOutputMethod · 0.80

Tested by

no test coverage detected