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

Method Errorf

pkg/util/log/stream_logger.go:376–381  ·  view source on GitHub ↗
(format string, args ...interface{})

Source from the content-addressed store, hash-verified

374}
375
376func (s *StreamLogger) Errorf(format string, args ...interface{}) {
377 s.m.Lock()
378 defer s.m.Unlock()
379
380 s.writeMessage(errorFn, fmt.Sprintf(format, args...)+"\n")
381}
382
383func (s *StreamLogger) Fatal(args ...interface{}) {
384 s.m.Lock()

Callers 2

PrintfMethod · 0.95
QuestionMethod · 0.45

Calls 3

writeMessageMethod · 0.95
LockMethod · 0.80
UnlockMethod · 0.80

Tested by

no test coverage detected