Log

dev.profunktor.redis4cats.effect.Log
See theLog companion object
trait Log[F[_]]

Typeclass used for internal logging such as acquiring and releasing connections.

It is recommended to use log4cats for production usage but if you do not want the extra dependency, you can opt to use either of the simple instances provided.

If you don't need logging at all, you can use Log.NoOp

import dev.profunktor.redis4cats.effect.Log.NoOp._

If you need simple logging to STDOUT for quick debugging, you can use Log.Stdout

import dev.profunktor.redis4cats.effect.Log.Stdout._

Attributes

Companion:
object
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Abstract methods

def debug(msg: => String): F[Unit]
def error(msg: => String): F[Unit]
def info(msg: => String): F[Unit]