polysemy-log-0.8.0.0: Polysemy effects for logging
Safe HaskellSafe-Inferred
LanguageHaskell2010

Polysemy.Log.Handle

Description

 
Synopsis

Documentation

interpretDataLogHandleWith :: 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.