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 committed Jun 2, 2023
1 parent 0a23853 commit 1e2b2bf
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 1e2b2bf

Please sign in to comment.