Skip to content

Comments

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

Merged
ChrisHines merged 1 commit intogo-kit:masterfrom
terinjokes:terin/log-sync-writer
May 6, 2017
Merged

fix(shipping): use log.NewSyncWriter in example#522
ChrisHines merged 1 commit intogo-kit:masterfrom
terinjokes:terin/log-sync-writer

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