diff options
author | Joe Mooring <[email protected]> | 2024-12-19 08:44:11 -0800 |
---|---|---|
committer | Bjørn Erik Pedersen <[email protected]> | 2024-12-19 19:52:13 +0100 |
commit | 6c583e322759228d65c4a7576515e19b43f67bc2 (patch) | |
tree | 3c7ed44b5c1bbf0aaf3e72d66ef3480d40832c18 | |
parent | 5d64b492f41ca9f805948f33b47672780f9cea7d (diff) | |
download | hugo-6c583e322759228d65c4a7576515e19b43f67bc2.tar.gz hugo-6c583e322759228d65c4a7576515e19b43f67bc2.zip |
common/loggers: Write PrintTimerIfDelayed output to stdErr
Closes #13171
-rw-r--r-- | common/loggers/logger.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/loggers/logger.go b/common/loggers/logger.go index 77a21458a..a013049f7 100644 --- a/common/loggers/logger.go +++ b/common/loggers/logger.go @@ -275,7 +275,7 @@ func (l *logAdapter) PrintTimerIfDelayed(start time.Time, name string) { if milli < 500 { return } - l.Printf("%s in %v ms", name, milli) + fmt.Fprintf(l.stdErr, "%s in %v ms", name, milli) } func (l *logAdapter) Printf(format string, v ...any) { |