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

fix(shipping): use log.NewSyncWriter in example #522

Merged
merged 1 commit into from
May 6, 2017

Conversation

terinjokes
Copy link
Contributor

Replace the use of serializedLogger with log.NewSyncWriter which
provides similar functionality.

SyncWriter is chosen over SyncLogger to reduce the amount of work
contained within a lock.

Replace the use of `serializedLogger` with `log.NewSyncWriter` which
provides similar functionality.

`SyncWriter` is chosen over `SyncLogger` to reduce the amount of work
contained within a lock.
@ChrisHines
Copy link
Member

Nice! Thanks for the contribution.

@ChrisHines ChrisHines merged commit 3df66f4 into go-kit:master May 6, 2017
@terinjokes terinjokes deleted the terin/log-sync-writer branch May 8, 2017 21:11
jamesgist pushed a commit to jamesgist/kit that referenced this pull request Nov 1, 2024
fix(shipping): use `log.NewSyncWriter` in example
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.

2 participants