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

Allow logging multiple items #295

Open
wants to merge 1 commit into
base: master
from

Conversation

@frankmcsherry
Copy link
Member

commented Sep 10, 2019

This PR adds the log_many method to loggers, which allows the user to provide an iterator over events. This has the potential to reduce the number of calls to timer.elapsed(), but it also allows derived streams to look "more transactional", with several logged events occurring at the same logical instant.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.