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

Method Errorf

pkg/util/log/file_logger.go:182–191  ·  view source on GitHub ↗
(format string, args ...interface{})

Source from the content-addressed store, hash-verified

180}
181
182func (f *fileLogger) Errorf(format string, args ...interface{}) {
183 f.m.Lock()
184 defer f.m.Unlock()
185
186 if f.level < logrus.ErrorLevel {
187 return
188 }
189
190 f.logger.Error(f.addPrefixes(stripEscapeSequences(fmt.Sprintf(format, args...))))
191}
192
193func (f *fileLogger) Fatal(args ...interface{}) {
194 f.m.Lock()

Callers 15

PrintfMethod · 0.95
bindataReadFunction · 0.45
AssetFunction · 0.45
AssetInfoFunction · 0.45
AssetDirFunction · 0.45
DeployMethod · 0.45
deployOneMethod · 0.45
PurgeMethod · 0.45
DeployMethod · 0.45
internalDeployMethod · 0.45
getDeploymentValuesMethod · 0.45
NewFunction · 0.45

Calls 5

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

Tested by 13

TestWatcherFunction · 0.36
testLoadFunction · 0.36
TestPatchesFunction · 0.36
TestGetParamsFunction · 0.36
TestApplyFunction · 0.36
TestIsRootChildFunction · 0.36
TestGetChildNameFunction · 0.36
TestGetParentPathFunction · 0.36
TestTransformPathFunction · 0.36
TestRemoveOperationFunction · 0.36
TestReplaceOperationFunction · 0.36
runTestCasesFunction · 0.36