print log to stdout instead of stderr (#1042)

This commit is contained in:
aler9 2022-07-16 12:14:59 +02:00
parent 2a0567ab4a
commit ea13509411
1 changed files with 1 additions and 1 deletions

View File

@ -186,7 +186,7 @@ func (lh *Logger) Log(level Level, format string, args ...interface{}) {
writeTime(&lh.stdoutBuffer, true)
writeLevel(&lh.stdoutBuffer, level, true)
writeContent(&lh.stdoutBuffer, format, args)
print(lh.stdoutBuffer.String())
os.Stdout.Write(lh.stdoutBuffer.Bytes())
}
if _, ok := lh.destinations[DestinationFile]; ok {