log4cats
log4cats copied to clipboard
Logging Tools For Interaction with cats-effect
## About this PR 📦 Updates [org.typelevel:munit-cats-effect](https://github.com/typelevel/munit-cats-effect) from `2.0.0-M5` to `2.0.0-RC1` 📜 [GitHub Release Notes](https://github.com/typelevel/munit-cats-effect/releases/tag/v2.0.0-RC1) - [Version Diff](https://github.com/typelevel/munit-cats-effect/compare/v2.0.0-M5...v2.0.0-RC1) ## Usage ✅ **Please merge!** I'll automatically update this PR to resolve...
## About this PR 📦 Updates * [org.typelevel:sbt-typelevel](https://github.com/typelevel/sbt-typelevel) * [org.typelevel:sbt-typelevel-site](https://github.com/typelevel/sbt-typelevel) from `0.7.0` to `0.7.1` 📜 [GitHub Release Notes](https://github.com/typelevel/sbt-typelevel/releases/tag/v0.7.1) - [Version Diff](https://github.com/typelevel/sbt-typelevel/compare/v0.7.0...v0.7.1) ## Usage ✅ **Please merge!** I'll automatically update this...
Open questions: 1. Is there a better way to do this? 2. Can this be made to work with LoggerFactory? Related to Issue #834
A "that would be nice" feature that's come up occasionally when discussing logging is the ability to log only when an error condition is encountered. We can get basically this...
## About this PR 📦 Updates * [org.scala-native:nscplugin](https://github.com/scala-native/scala-native) * [org.scala-native:sbt-scala-native](https://github.com/scala-native/scala-native) from `0.4.17` to `0.5.1` 📜 [GitHub Release Notes](https://github.com/scala-native/scala-native/releases/tag/v0.5.1) - [Version Diff](https://github.com/scala-native/scala-native/compare/v0.4.17...v0.5.1) ## Usage ✅ **Please merge!** I'll automatically update this...
Closes https://github.com/typelevel/log4cats/issues/461. Some ideas are based on #676.
It would be nice for me to change the name of a passed `Logger` instance so I can differentiate across classes. I think a method like `def withName(s: String): Logger[F]`...
It may be useful if we can change loglevel in scope like: `logger.withLoglevel("DEBUG")`. Defining it as `IO[Resource[IO, Unit]]` enables us to change and revert loglevel simply. Currently I'm calling `System.setProperty("org.slf4j.simpleLogger.log.FooClass","DEBUG")`....
- Add helpers for logging with some propagated ctx and kleisli implementation - Add ce3 module and iolocal instances
This came up in discussion on https://github.com/http4s/http4s/pull/6629 about whether the http4s logging middleware should continue to allow the user to provide `String => F[Unit]` instead of `LoggerFactory` - allowing it...