MCPcopy Index your code
hub / github.com/commitdev/zero / Errorf

Function Errorf

pkg/util/flog/log.go:63–65  ·  view source on GitHub ↗

Warnf logs a formatted error message

(format string, a ...interface{})

Source from the content-addressed store, hash-verified

61
62// Warnf logs a formatted error message
63func Errorf(format string, a ...interface{}) {
64 logger.Error(aurora.Red(emoji.Sprintf(":exclamation: "+format, a...)))
65}
66
67// Info formatter is to not display the LOG_LEVEL in front of the command eg. INFO[2020-070-01T15:22:22] Hello World
68type InfoFormatter struct {

Callers 7

FatalFunction · 0.92
ErrorFunction · 0.92
conditionHandlerFunction · 0.92
LoadModuleConfigFunction · 0.92
executeTemplatesFunction · 0.92
copyBinFilesFunction · 0.92
CreateFunction · 0.92

Calls 1

ErrorMethod · 0.45

Tested by

no test coverage detected