feat: more loggers
This commit is contained in:
committed by
Michael Hobbs
parent
096ba83f41
commit
7a4464a8ae
@@ -36,6 +36,16 @@ func LogInfo2Quiet(text string) {
|
||||
}
|
||||
}
|
||||
|
||||
func LogVerbose(text string) {
|
||||
fmt.Fprintln(os.Stdout, fmt.Sprintf(" %s", text))
|
||||
}
|
||||
|
||||
func LogVerboseQuiet(text string) {
|
||||
if os.Getenv("DOKKU_QUIET_OUTPUT") != "" {
|
||||
LogVerbose(text)
|
||||
}
|
||||
}
|
||||
|
||||
// LogWarn is the warning log formatter
|
||||
func LogWarn(text string) {
|
||||
fmt.Fprintln(os.Stderr, fmt.Sprintf(" ! %s", text))
|
||||
|
||||
Reference in New Issue
Block a user