MCPcopy Index your code
hub / github.com/devspace-sh/devspace / StartFileLogging

Function StartFileLogging

pkg/util/log/log.go:36–39  ·  view source on GitHub ↗

StartFileLogging logs the output of the global logger to the file default.log

()

Source from the content-addressed store, hash-verified

34
35// StartFileLogging logs the output of the global logger to the file default.log
36func StartFileLogging() {
37 defaultLog.AddSink(GetFileLogger("default"))
38 OverrideRuntimeErrorHandler(false)
39}
40
41// GetInstance returns the Logger instance
42func GetInstance() Logger {

Callers 3

initializeFunction · 0.92
RunMethod · 0.92
RunOpenMethod · 0.92

Calls 3

GetFileLoggerFunction · 0.85
AddSinkMethod · 0.65

Tested by

no test coverage detected