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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move stream name determining logic to separate method #148

Merged
merged 1 commit into from Aug 2, 2021
Merged

Move stream name determining logic to separate method #148

merged 1 commit into from Aug 2, 2021

Conversation

Jusstas
Copy link
Contributor

@Jusstas Jusstas commented Aug 1, 2021

Made stream name determining logic more flexible. Now you can override this method in a subclass to extend its behavior. In my particular case, I wanted to get the log stream name from the custom attribute passed with the log record, so I had to copy-paste the entire emit() method to do just that 馃槄.

@kislyuk kislyuk merged commit 6ee1e54 into kislyuk:develop Aug 2, 2021
@kislyuk
Copy link
Owner

kislyuk commented Aug 2, 2021

Thanks for your contribution.

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