MCPcopy Create free account
hub / github.com/docker/secrets-engine / Errorf

Method Errorf

x/logging/logging.go:76–78  ·  view source on GitHub ↗
(format string, v ...interface{})

Source from the content-addressed store, hash-verified

74}
75
76func (d defaultLogger) Errorf(format string, v ...interface{}) {
77 d.logger.Printf(suffix()+"[ERR] "+d.prefix+format+"\n"+stackTrace(), v...)
78}
79
80func suffix() string {
81 _, file, line, ok := runtime.Caller(2)

Callers 1

Test_logFilePrefixFunction · 0.95

Calls 3

suffixFunction · 0.85
stackTraceFunction · 0.85
PrintfMethod · 0.65

Tested by 1

Test_logFilePrefixFunction · 0.76