providers/log: Fix formatting of log messages

This commit is contained in:
Sasha Koshka 2024-12-14 02:38:34 -05:00
parent 1ec27f18cc
commit 3118f2bcee

View File

@ -34,11 +34,11 @@ type state struct {
}
func (this *state) funcPrintln (v ...any) string {
log.Printf("(i) %s: %s", this.document.Name, fmt.Sprintln(v))
log.Printf("(i) %s: %s", this.document.Name(), fmt.Sprintln(v...))
return ""
}
func (this *state) funcDebugln (v ...any) string {
log.Printf("DBG %s: %s", this.document.Name, fmt.Sprintln(v))
log.Printf("DBG %s: %s", this.document.Name(), fmt.Sprintln(v...))
return ""
}