polysemy-log-0.11.1.0: Polysemy effects for logging
Safe HaskellNone
LanguageGHC2021

Polysemy.Log.Handle

Description

 
Synopsis

Documentation

interpretDataLogHandleWith :: forall (r :: EffectRow) a. Member (Embed IO) r => Handle -> (a -> Text) -> InterpreterFor (DataLog a) r Source #

Interpret DataLog by printing to the given handle, converting messages to Text with the supplied function. Sets the handle into LineBuffering mode.