mirror of https://github.com/fluxcd/flux2.git
Add wait log
parent
c6793f6eaf
commit
8d15970dbe
@ -0,0 +1,19 @@
|
|||||||
|
package main
|
||||||
|
|
||||||
|
import "fmt"
|
||||||
|
|
||||||
|
func logAction(format string, a ...interface{}) {
|
||||||
|
fmt.Println(`✚`, fmt.Sprintf(format, a...))
|
||||||
|
}
|
||||||
|
|
||||||
|
func logWaiting(format string, a ...interface{}) {
|
||||||
|
fmt.Println(`◎`, fmt.Sprintf(format, a...))
|
||||||
|
}
|
||||||
|
|
||||||
|
func logSuccess(format string, a ...interface{}) {
|
||||||
|
fmt.Println(`✔`, fmt.Sprintf(format, a...))
|
||||||
|
}
|
||||||
|
|
||||||
|
func logFailure(format string, a ...interface{}) {
|
||||||
|
fmt.Println(`✗`, fmt.Sprintf(format, a...))
|
||||||
|
}
|
Loading…
Reference in New Issue