MCPcopy Create free account
hub / github.com/devspace-sh/devspace / Done

Method Done

pkg/util/log/file_logger.go:215–224  ·  view source on GitHub ↗
(args ...interface{})

Source from the content-addressed store, hash-verified

213}
214
215func (f *fileLogger) Done(args ...interface{}) {
216 f.m.Lock()
217 defer f.m.Unlock()
218
219 if f.level < logrus.InfoLevel {
220 return
221 }
222
223 f.logger.Info(f.addPrefixes(stripEscapeSequences(fmt.Sprint(args...))))
224}
225
226func (f *fileLogger) Donef(format string, args ...interface{}) {
227 f.m.Lock()

Callers

nothing calls this directly

Calls 5

addPrefixesMethod · 0.95
stripEscapeSequencesFunction · 0.85
LockMethod · 0.80
UnlockMethod · 0.80
InfoMethod · 0.45

Tested by

no test coverage detected