ConsoleEffect

class Object
trait Matchable
class Any

Type members

Classlikes

final case class ConsoleMessage(value: String) extends AnyVal

Types

type _console[R] = MemberIn[Console, R]

Value members

Concrete methods

def log[R : _console](message: String, doIt: Boolean): Eff[R, Unit]
def logThrowable[R : _console](t: Throwable, doIt: Boolean): Eff[R, Unit]
def logThrowable[R : _console](t: Throwable): Eff[R, Unit]
def runConsole[R, U, A](w: Eff[R, A])(implicit m: Aux[Console, R, U]): Eff[U, A]

This interpreter prints messages to the console

This interpreter prints messages to the console

def runConsoleToPrinter[R, U, A](printer: String => Unit)(w: Eff[R, A])(implicit m: Aux[Console, R, U]): Eff[U, A]

This interpreter prints messages to a printing function

This interpreter prints messages to a printing function