providers/log: Fix formatting of log messages
This commit is contained in:
parent
1ec27f18cc
commit
3118f2bcee
@ -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 ""
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user