polysemy-log-0.10.0.1: Polysemy effects for logging
Safe HaskellSafe-Inferred
LanguageGHC2021

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.