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

Method Warn

pkg/util/log/stream_logger.go:355–360  ·  view source on GitHub ↗
(args ...interface{})

Source from the content-addressed store, hash-verified

353}
354
355func (s *StreamLogger) Warn(args ...interface{}) {
356 s.m.Lock()
357 defer s.m.Unlock()
358
359 s.writeMessage(warnFn, fmt.Sprintln(args...))
360}
361
362func (s *StreamLogger) Warnf(format string, args ...interface{}) {
363 s.m.Lock()

Callers 1

PrintMethod · 0.95

Calls 3

writeMessageMethod · 0.95
LockMethod · 0.80
UnlockMethod · 0.80

Tested by

no test coverage detected