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

Method Warnf

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

Source from the content-addressed store, hash-verified

70}
71
72func (d defaultLogger) Warnf(format string, v ...interface{}) {
73 d.logger.Printf(suffix()+"[WARN] "+d.prefix+format, v...)
74}
75
76func (d defaultLogger) Errorf(format string, v ...interface{}) {
77 d.logger.Printf(suffix()+"[ERR] "+d.prefix+format+"\n"+stackTrace(), v...)

Callers 1

Test_logFilePrefixFunction · 0.95

Calls 2

suffixFunction · 0.85
PrintfMethod · 0.65

Tested by 1

Test_logFilePrefixFunction · 0.76