Skip to content

Commit

Permalink
leftovers added extra debuging method on some cpis
Browse files Browse the repository at this point in the history
  • Loading branch information
ramonskie authored and rkoster committed Jun 7, 2023
1 parent 940bbc5 commit 8557492
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions application/logger.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,16 @@ func (l *Logger) Println(message string) {
fmt.Fprintf(l.writer, "%s\n", message) //nolint:errcheck
}

func (l *Logger) Debugf(message string, a ...interface{}) {
l.clear()
fmt.Fprintf(l.writer, "%s\n", message)
}

func (l *Logger) Debugln(message string) {
l.clear()
fmt.Fprintf(l.writer, "%s\n", message)
}

func (l *Logger) NoConfirm() {
l.noConfirm = true
}
Expand Down

0 comments on commit 8557492

Please sign in to comment.