mirror of
https://github.com/fluxcd/flux2.git
synced 2026-05-05 09:38:50 +00:00
Add Warningf to logger interface amd impl
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
This commit is contained in:
parent
8b5583930e
commit
74feda73af
3 changed files with 7 additions and 0 deletions
|
|
@ -41,6 +41,10 @@ func (l stderrLogger) Successf(format string, a ...interface{}) {
|
|||
fmt.Fprintln(l.stderr, `✔`, fmt.Sprintf(format, a...))
|
||||
}
|
||||
|
||||
func (l stderrLogger) Warningf(format string, a ...interface{}) {
|
||||
fmt.Fprintln(l.stderr, `⚠️`, fmt.Sprintf(format, a...))
|
||||
}
|
||||
|
||||
func (l stderrLogger) Failuref(format string, a ...interface{}) {
|
||||
fmt.Fprintln(l.stderr, `✗`, fmt.Sprintf(format, a...))
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue