HORIZON HASKELLDocslts/ghc-9.14.x45dd5372026-10-11Search names, modules, packages, or :: a typeCtrl K

GHC 9.14.1 · lts/ghc-9.14.x · 45dd537 · 2026-10-11

Modulelog-base-0.12.1.0Haskell2010

Log.Backend.Text

A logger that produces in-memory Text values. Mainly useful for testing.

  • 1 value
valuewithSimpleTextLogger :: MonadUnliftIO m => (Logger -> m r) -> m (Text, r)
#

Create an in-memory logger for the duration of the given action, returning both the result of the action and the logger's output as a Text value afterwards.