- info: Lake.LogLevel
- warning: Lake.LogLevel
- error: Lake.LogLevel
Instances For
- quiet: Lake.Verbosity
- normal: Lake.Verbosity
- verbose: Lake.Verbosity
Instances For
Class #
- getVerbosity : m Lake.Verbosity
- log : String → Lake.LogLevel → m PUnit
Instances
@[inline]
Instances For
@[inline]
Instances For
@[inline]
Instances For
@[inline]
Instances For
@[inline]
Instances For
@[inline]
Instances For
@[specialize #[]]
Instances For
@[specialize #[]]
def
Lake.MonadLog.io
{m : Type → Type u_1}
[MonadLiftT BaseIO m]
(verbosity : optParam Lake.Verbosity Lake.Verbosity.normal)
:
Instances For
@[specialize #[]]
def
Lake.MonadLog.eio
{m : Type → Type u_1}
[MonadLiftT BaseIO m]
(verbosity : optParam Lake.Verbosity Lake.Verbosity.normal)
:
Instances For
@[specialize #[]]
def
Lake.MonadLog.lift
{m : Type u_1 → Type u_2}
{n : Type u_1 → Type u_3}
[MonadLiftT m n]
(self : Lake.MonadLog m)
:
Instances For
instance
Lake.MonadLog.instMonadLog
{m : Type u_1 → Type u_2}
{n : Type u_1 → Type u_3}
[MonadLift m n]
[methods : Lake.MonadLog m]
:
@[inline]
def
Lake.MonadLog.error
{m : Type u_1 → Type u_2}
{α : Type u_1}
[Alternative m]
[Lake.MonadLog m]
(msg : String)
:
m α
Log the given error message and then fail.
Instances For
Transformers #
instance
Lake.instMonadLogMonadLogT
{n : Type u_1 → Type u_2}
{m : Type u_1 → Type u_1}
[Monad n]
[MonadLiftT m n]
:
Lake.MonadLog (Lake.MonadLogT m n)
@[inline]
def
Lake.MonadLogT.adaptMethods
{n : Type u_1 → Type u_2}
{m : Type u_3 → Type u_1}
{m' : Type u_4 → Type u_1}
{α : Type u_1}
[Monad n]
(f : Lake.MonadLog m → Lake.MonadLog m')
(self : Lake.MonadLogT m' n α)
:
Lake.MonadLogT m n α
Instances For
@[inline]
def
Lake.MonadLogT.ignoreLog
{m : Type → Type u_1}
{n : Type u_1 → Type u_2}
{α : Type u_1}
[Pure m]
(self : Lake.MonadLogT m n α)
:
n α
Instances For
def
Lake.LogIO.captureLog
{α : Type}
(self : Lake.LogIO α)
(verbosity : optParam Lake.Verbosity Lake.Verbosity.normal)
: