log4cats
log4cats copied to clipboard
Logging Tools For Interaction with cats-effect
We should update it or remove it.
It would be very nice if there was some more documentation all of the logger apis that are available for use as well as some beginner friendly examples with explanation.
hopefully self-explanatory: it would be great to have a wrapper for loggers that would allow one to pass structured logging context in a more implicit fashion. This would probably involve...
I suggest adding a module for integration with [sourcecode](https://github.com/com-lihaoyi/sourcecode) to add information about the call site to the context of a structured logger. Rather than introduce a new subtype of...
- [x] `mapK: (F ~> G) => Alg[F] => Alg[G]` - [ ] `Kleisli` - [ ] `OptionT` - [ ] `EitherT` - [x] `WriterT` - [x] `Writer`: Could be...
Given the following code: ```scala import io.chrisdavenport.log4cats.Logger import io.chrisdavenport.log4cats.slf4j.Slf4jLogger import cats.effect.{ExitCode, IO, IOApp, Sync} import cats.implicits._ object MyOtherThing { def doSomething[F[_]: Sync: Logger]: F[Unit] = Logger[F].info("Other stuff to do ")...
Hello :) As someone else pointed out in this issue #397, the class that shows up in traces reflects where the logger was instantiated, usually the main class of the...
This would mean backporting some of the internals of slf4j to scalajs so this works as well. Some previous art exists in other scala logging libraries.
https://github.com/ChristopherDavenport/log4cats/compare/v0.2.0...v0.3.0 Seems to be mostly - Upgrade dependencies - Add MiMa - StructuredLogger api change ?
The example I copied from README.md cannot be compiled correctly without modifications. I also suggest making it executable. I find it helpful to someone like me who is unfamiliar with...