gagraler commented on issue #1306: URL: https://github.com/apache/rocketmq-clients/issues/1306#issuecomment-5506602982
Implemented the framework-neutral logger interface approach (Option 2) in #1356. The PR adds: - a public `Logger` interface and global `SetLogger` API; - the existing Zap logger as the backward-compatible default; - logger inheritance for newly created producers and consumers, including `client_id` context; - unit coverage and a `log/slog` JSON logging example. Validation completed with `go build`, `go test -v`, `go test ./...`, and a focused race test. -- 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]
