All Downloads are FREE. Search and download functionalities are using the official Maven repository.

us.zio-slf4j_2.11.0.1.5.source-code.logging.scala Maven / Gradle / Ivy

There is a newer version: 0.1.8
Show newest version
package nequi.zio.logger

import scalaz.Show
import scalaz.zio.IO

private[logger] trait Logging {
  def trace[A: Show](a: A)(implicit L: Logger): IO[Throwable, Unit] = L.trace(a)
  def debug[A: Show](a: A)(implicit L: Logger): IO[Throwable, Unit] = L.debug(a)
  def info[A: Show](a: A)(implicit L: Logger): IO[Throwable, Unit]  = L.info(a)
  def warn[A: Show](a: A)(implicit L: Logger): IO[Throwable, Unit]  = L.warn(a)
  def error[A: Show](a: A)(implicit L: Logger): IO[Throwable, Unit] = L.error(a)
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy