mirror of
https://github.com/gohugoio/hugo.git
synced 2024-05-11 05:54:58 +00:00
loggers: Avoid using Logf for the LevelLoggerToWriter
To prevent issues with percentage chars.
This commit is contained in:
@ -302,6 +302,6 @@ type logWriter struct {
|
||||
}
|
||||
|
||||
func (w logWriter) Write(p []byte) (n int, err error) {
|
||||
w.l.Logf("%s", p)
|
||||
w.l.Log(logg.String(string(p)))
|
||||
return len(p), nil
|
||||
}
|
||||
|
Reference in New Issue
Block a user