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

Method Error

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

Source from the content-addressed store, hash-verified

169}
170
171func (f *fileLogger) Error(args ...interface{}) {
172 f.m.Lock()
173 defer f.m.Unlock()
174
175 if f.level < logrus.ErrorLevel {
176 return
177 }
178
179 f.logger.Error(f.addPrefixes(stripEscapeSequences(fmt.Sprint(args...))))
180}
181
182func (f *fileLogger) Errorf(format string, args ...interface{}) {
183 f.m.Lock()

Callers 2

PrintMethod · 0.95
ErrorfMethod · 0.45

Calls 4

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

Tested by

no test coverage detected