MCPcopy
hub / github.com/andeya/pholcus / SetOutput

Method SetOutput

logs/logs.go:92–98  ·  view source on GitHub ↗

SetOutput sets the terminal for real-time log display.

(show io.Writer)

Source from the content-addressed store, hash-verified

90
91// SetOutput sets the terminal for real-time log display.
92func (ml *mylog) SetOutput(show io.Writer) Logs {
93 ml.BeeLogger.SetLogger("console", map[string]interface{}{
94 "writer": show,
95 "level": config.Conf().Log.ConsoleLevel(),
96 })
97 return ml
98}

Callers

nothing calls this directly

Calls 3

ConfFunction · 0.92
ConsoleLevelMethod · 0.80
SetLoggerMethod · 0.65

Tested by

no test coverage detected