diff --git a/os/glog/glog_logger.go b/os/glog/glog_logger.go index 7079a75e5..f369db3f9 100644 --- a/os/glog/glog_logger.go +++ b/os/glog/glog_logger.go @@ -251,7 +251,7 @@ func (l *Logger) printToWriter(ctx context.Context, input *HandlerInput) { // printToStdout outputs logging content to stdout. func (l *Logger) printToStdout(ctx context.Context, input *HandlerInput) { if l.config.StdoutPrint { - if _, err := fmt.Fprintf(color.Output, input.getBuffer(true).String()) ; err != nil { + if _, err := fmt.Fprintf(color.Output, input.getBuffer(true).String()); err != nil { intlog.Error(ctx, err) } }