shunping opened a new pull request, #39288: URL: https://github.com/apache/beam/pull/39288
* Update `BufferedLogger.Write` to search for newlines and accumulate partial log lines in the builder instead of immediately emitting them as separate entries. * Update `FlushAtDebug` and `FlushAtError` to flush any remaining trailing text in the builder on exit or flush events. * Fix bug in `buffered_logging_test.go` where log list assertions only verified the first element of `logCatcher.msgs` instead of checking all gathered log messages. * Add `TestBufferedLogger/partial_write_splitting` to verify correct chunked write buffering and line assembly behavior. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
