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

Add LoggerFactory.mapK #653

Merged
merged 5 commits into from
May 19, 2022
Merged

Add LoggerFactory.mapK #653

merged 5 commits into from
May 19, 2022

Conversation

alexcardell
Copy link
Contributor

@alexcardell alexcardell commented May 18, 2022

I've been playing around with Natchez and natchez-extras-log4cats. This proved to be a required step to use LoggerFactory rather than instantiating a Kleisli logger and passing around explicitly/implicitly.

I would have applied this to LoggerFactoryGen but with the override type I struggled, I think you would need to lift it into the typeclass signature, but suggestions welcome.

Copy link
Member

@danicheg danicheg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! One suggestion:

@alexcardell
Copy link
Contributor Author

Maybe slightly redundant but I've added a compilation check like the LoggerSyntaxCompilation

Copy link
Member

@danicheg danicheg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great job, thanks again.

@danicheg danicheg merged commit 4c8fc23 into typelevel:main May 19, 2022
@kierendavies
Copy link

This is exactly what I need, thank you! When might we see this included in a new release?

@danicheg
Copy link
Member

danicheg commented Jun 20, 2022

Oh, we really didn't release this. I think it'd be fine to do a new patch release v2.3.2. Will sort out it.

@danicheg
Copy link
Member

@kierendavies And it's done. Our Steward is already asking to bump to v2.3.2.

@kierendavies
Copy link

Thank you ❤️

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.

4 participants