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

Method SetLevel

pkg/util/log/file_logger.go:275–280  ·  view source on GitHub ↗
(level logrus.Level)

Source from the content-addressed store, hash-verified

273}
274
275func (f *fileLogger) SetLevel(level logrus.Level) {
276 f.m.Lock()
277 defer f.m.Unlock()
278
279 f.level = level
280}
281
282func (f *fileLogger) GetLevel() logrus.Level {
283 f.m.Lock()

Callers 7

GetFileLoggerFunction · 0.95
startTerminalFunction · 0.45
StartAttachFunction · 0.45
RunMethod · 0.45
NewRootCmdFunction · 0.45
ParseArgsFunction · 0.45
NewDefaultFactoryFunction · 0.45

Calls 2

LockMethod · 0.80
UnlockMethod · 0.80

Tested by

no test coverage detected