HORIZON HASKELLDocslts/ghc-9.10.x248f8f02026-10-05Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · 248f8f0 · 2026-10-05

Modulelog-base-0.12.0.1Haskell2010

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.