{"modulePath":"github.com/dnote/cli","version":"v0.6.2","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package log\n\n## Variables\n\n```go\nvar (\n\t// ColorRed is a red foreground color\n\tColorRed = color.New(color.FgRed)\n\t// ColorGreen is a green foreground color\n\tColorGreen = color.New(color.FgGreen)\n\t// ColorYellow is a yellow foreground color\n\tColorYellow = color.New(color.FgYellow)\n\t// ColorBlue is a blue foreground color\n\tColorBlue = color.New(color.FgBlue)\n\t// ColorGray is a gray foreground color\n\tColorGray = color.New(color.FgHiBlack)\n)\n```\n\n## Functions\n\n```go\nfunc Askf(msg string, masked bool, v ...interface{})\n```\nAskf prints an question with optional format verbs. The leading symbol differs in color depending on whether the input is masked.\n\n```go\nfunc Debug(msg string, v ...interface{})\n```\nDebug prints to the console if DNOTE\\_DEBUG is set\n\n```go\nfunc Error(msg string)\n```\nError prints an error message\n\n```go\nfunc Errorf(msg string, v ...interface{})\n```\nErrorf prints an error message with optional format verbs\n\n```go\nfunc Info(msg string)\n```\nInfo prints information\n\n```go\nfunc Infof(msg string, v ...interface{})\n```\nInfof prints information with optional format verbs\n\n```go\nfunc Plain(msg string)\n```\nPlain prints a plain message without any prefix symbol\n\n```go\nfunc Plainf(msg string, v ...interface{})\n```\nPlainf prints a plain message without any prefix symbol. It takes optional format verbs.\n\n```go\nfunc PrintContent(content string)\n```\nPrintContent prints the note content with an appropriate format.\n\n```go\nfunc Printf(msg string, v ...interface{})\n```\nPrintf prints an normal message\n\n```go\nfunc Success(msg string)\n```\nSuccess prints a success message\n\n```go\nfunc Successf(msg string, v ...interface{})\n```\nSuccessf prints a success message with optional format verbs\n\n```go\nfunc Warnf(msg string, v ...interface{})\n```\nWarnf prints a warning message with optional format verbs\n\n","path":"github.com/dnote/cli/log","name":"log","synopsis":"","isRedistributable":true}
