wikimusic-ssr-0.6.0.0
Safe HaskellSafe-Inferred
LanguageGHC2021

WikiMusic.SSR.Free.Logger

Documentation

logInfo :: Logger :<: f => Text -> Free f () Source #

logError :: Logger :<: f => Text -> Free f () Source #

logDebug :: Logger :<: f => Text -> Free f () Source #

data Logger a Source #

Constructors

LogInfo Text a 
LogError Text a 
LogDebug Text a 

Instances

Instances details
Functor Logger Source # 
Instance details

Defined in WikiMusic.SSR.Free.Logger

Methods

fmap :: (a -> b) -> Logger a -> Logger b #

(<$) :: a -> Logger b -> Logger a #

Exec Logger Source # 
Instance details

Defined in WikiMusic.SSR.Console.Logger

Methods

execAlgebra :: Logger (IO a) -> IO a #