Skip to content

Improve testability of CanLog by making LoggerTakingImplicit no longer final (helps fix #40) #181

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

Merged
merged 1 commit into from
Sep 24, 2019

Conversation

Ophirr33
Copy link
Contributor

Users that are hoping to use CanLog to avoid mdc contexts can't easily test logging interactions since they have to statically depend on LoggerTakingImplicit. Dropping final from the class will at the very least allow mocking the class for unit/acceptance testing.

@lightbend-cla-validator
Copy link
Collaborator

At least one pull request committer is not linked to a user. See https://help.github.com/en/articles/why-are-my-commits-linked-to-the-wrong-user#commits-are-not-linked-to-any-user

@analytically analytically merged commit 686b4c7 into lightbend-labs:master Sep 24, 2019
@SethTisue SethTisue changed the title Helps fix #40 Improve testability of CanLog by making LoggerTakingImplicit no longer final (helps fix #40) Feb 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants