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

Method Fatalf

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

Source from the content-addressed store, hash-verified

391}
392
393func (s *StreamLogger) Fatalf(format string, args ...interface{}) {
394 s.m.Lock()
395 defer s.m.Unlock()
396
397 msg := fmt.Sprintf(format, args...)
398
399 s.writeMessage(fatalFn, msg+"\n")
400 os.Exit(1)
401}
402
403func (s *StreamLogger) Done(args ...interface{}) {
404 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