Skip to content

Commit

Permalink
Fixed wrong declaration of ui.Logger.Msgf
Browse files Browse the repository at this point in the history
  • Loading branch information
lkarlslund committed Dec 11, 2024
1 parent 7c0bf75 commit 3799533
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions modules/ui/log.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ type Logger struct {
pterm pterm.PrefixPrinter
}

func (t Logger) Msgf(format string, args ...any) Logger {
func (t Logger) Msgf(format string, args ...any) {
outputMutex.Lock()

var timetext string
Expand Down Expand Up @@ -112,7 +112,6 @@ func (t Logger) Msgf(format string, args ...any) Logger {
if t.ll == LevelPanic {
panic(fmt.Sprintf(format, args...))
}
return t
}

func (t Logger) Msg(msg string) Logger {
Expand Down

0 comments on commit 3799533

Please sign in to comment.