-
Notifications
You must be signed in to change notification settings - Fork 75
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! One suggestion:
core/shared/src/main/scala/org/typelevel/log4cats/LoggerFactory.scala
Outdated
Show resolved
Hide resolved
Maybe slightly redundant but I've added a compilation check like the LoggerSyntaxCompilation |
There was a problem hiding this 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.
This is exactly what I need, thank you! When might we see this included in a new release? |
Oh, we really didn't release this. I think it'd be fine to do a new patch release |
@kierendavies And it's done. Our Steward is already asking to bump to |
Thank you ❤️ |
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.