MCPcopy Index your code
hub / github.com/dnote/dnote / Warnf

Function Warnf

pkg/cli/log/log.go:76–78  ·  view source on GitHub ↗

Warnf prints a warning message with optional format verbs

(msg string, v ...interface{})

Source from the content-addressed store, hash-verified

74
75// Warnf prints a warning message with optional format verbs
76func Warnf(msg string, v ...interface{}) {
77 fmt.Fprintf(color.Output, "%s%s %s", indent, ColorRed.Sprint("•"), fmt.Sprintf(msg, v...))
78}
79
80// Error prints an error message
81func Error(msg string) {

Callers 5

SignoutFunction · 0.92
runNoteFunction · 0.92
runBookFunction · 0.92
checkPostSyncIntegrityFunction · 0.92
newRunFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected