MCPcopy Create free account
hub / github.com/DNAProject/DNA / PrintWarnMsg

Function PrintWarnMsg

cmd/usage.go:439–442  ·  view source on GitHub ↗
(format string, a ...interface{})

Source from the content-addressed store, hash-verified

437}
438
439func PrintWarnMsg(format string, a ...interface{}) {
440 format = fmt.Sprintf("\033[33m[WARN] %s\033[0m\n", format) //Print error msg with yellow color
441 fmt.Printf(format, a...)
442}
443
444func PrintInfoMsg(format string, a ...interface{}) {
445 fmt.Printf(format+"\n", a...)

Callers 4

exportBlocksFunction · 0.85
importBlocksFunction · 0.85
accountListFunction · 0.85
accountImportFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected