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

Method Warnf

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

Source from the content-addressed store, hash-verified

360}
361
362func (s *StreamLogger) Warnf(format string, args ...interface{}) {
363 s.m.Lock()
364 defer s.m.Unlock()
365
366 s.writeMessage(warnFn, fmt.Sprintf(format, args...)+"\n")
367}
368
369func (s *StreamLogger) Error(args ...interface{}) {
370 s.m.Lock()

Callers 1

PrintfMethod · 0.95

Calls 3

writeMessageMethod · 0.95
LockMethod · 0.80
UnlockMethod · 0.80

Tested by

no test coverage detected