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

Method Fatal

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

Source from the content-addressed store, hash-verified

191}
192
193func (f *fileLogger) Fatal(args ...interface{}) {
194 f.m.Lock()
195 defer f.m.Unlock()
196
197 if f.level < logrus.FatalLevel {
198 return
199 }
200
201 f.logger.Fatal(f.addPrefixes(stripEscapeSequences(fmt.Sprint(args...))))
202}
203
204func (f *fileLogger) Fatalf(format string, args ...interface{}) {
205 f.m.Lock()

Callers 15

PrintMethod · 0.95
TestGetAllAuthConfigsFunction · 0.45
TestGetAuthConfigFunction · 0.45
TestLoginFunction · 0.45
checkFilesAndFoldersFunction · 0.45
initTestDirsFunction · 0.45
TestInitialSyncFunction · 0.45
TestNormalSyncFunction · 0.45
TestCreateDirInFileMapFunction · 0.45
TestRemoveDirInFileMapFunction · 0.45
TestShellCatFunction · 0.45
TestShellCatErrorFunction · 0.45

Calls 4

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

Tested by 15

TestGetAllAuthConfigsFunction · 0.36
TestGetAuthConfigFunction · 0.36
TestLoginFunction · 0.36
checkFilesAndFoldersFunction · 0.36
initTestDirsFunction · 0.36
TestInitialSyncFunction · 0.36
TestNormalSyncFunction · 0.36
TestCreateDirInFileMapFunction · 0.36
TestRemoveDirInFileMapFunction · 0.36
TestShellCatFunction · 0.36
TestShellCatErrorFunction · 0.36
TestShellCatEnforceFunction · 0.36