us.zio-slf4j_2.11.0.1.5.source-code.logging.scala Maven / Gradle / Ivy
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)
}