{"repo":"laserdisc-io/log-effect","free":true,"listed":false,"github":"https://github.com/laserdisc-io/log-effect","clone":"git clone https://github.com/laserdisc-io/log-effect.git","description":"A simple macro-less logging typeclass with some common backends","language":"Scala","stars":22,"topics":["logging","mtl","scala","functional-programming","fs2","tagless-final","typeclass","zio","cats"],"license":"MIT","category":"analytics","readme_excerpt":"Log Effect Start Log Effect is available for Scala 2.12 , 2.13 and 3 . Helper constructors are provided for Cats Effect 's Sync F[ ] , for Fs2 's Stream and for ZIO 's Task . Add for Fs2 or Cats Effect . Add instead for ZIO . If the intention is, instead, to create your own implementation of the typeclass, adding this will be enough. For the latest versions available please refer to the badges below the title. Backends Currently Log Effect supports the following backends - Log4s - Java Logging (Jul) - Scribe - Console - No log sink Dependencies Cats Fs2 Cats Effect Log Effect Core ------------------------: ----: ---: -----------: -----------------: 2.9.0 3.4.0 3.4.1 Zio Log Effect Core ------------------------: ---: ---------------: 2.0.4 Log4cats Log Effect Core ------------------------: --------: -----------------: 2.5.0 Log4s Scribe ------------------------: ------: ------: 1.10.0 3.10.5 Examples Get Logs Cats Effect Sync To get an instance of LogWriter for Cats Effect 's Sync the options below are available (see here) full compiling example here Fs2 Stream Similarly, to get instances of LogWriter for Fs2 's Stream the constructors below are available here full compiling example here See here for an example with Laserdisc Zio Task To create instances for ZIO some useful constructors can be found here. Note as they exploit the power and expressiveness of RLayer an the RIO pattern as shown below. Create LogWriter as a Layer full compiling example here Create LogWriter as RIO","default_branch":null,"files":null,"tree":[],"storefront":"/r/laserdisc-io","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/laserdisc-io/log-effect/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}