Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Client example: Use instance logger instead of global logger #34

Merged
merged 1 commit into from
Jan 14, 2022

Conversation

andygrunwald
Copy link
Contributor

The [example_client_test.go](./example_client_test.go) is using two types of logging mechanism:

log.Println("Attempting to connect")

and

session.logger.Println("Push failed. Retrying...")

This Pull Request is changing the logging behavior to only use the logging instance inside the session struct

@MirahImage MirahImage merged commit b00bc05 into rabbitmq:main Jan 14, 2022
@MirahImage
Copy link
Member

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants