| Safe Haskell | None |
|---|---|
| Language | GHC2021 |
Polysemy.Log.Handle
Description
Synopsis
- interpretDataLogHandleWith :: forall (r :: EffectRow) a. Member (Embed IO) r => Handle -> (a -> Text) -> InterpreterFor (DataLog a) r
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.