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

Method SetOutput

commons/log/logger.go:113–115  ·  view source on GitHub ↗

SetOutput sets the logger output.

(output io.Writer)

Source from the content-addressed store, hash-verified

111
112// SetOutput sets the logger output.
113func (logger *Logger) SetOutput(output io.Writer) {
114 logger.Logger.SetOutput(output)
115}
116
117// SetFormatter sets the logger formatter.
118func (logger *Logger) SetFormatter(formatter Formatter) {

Callers 3

initFunction · 0.80
updateLogConfigFunction · 0.80
SetOutputFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected