hspec-contrib-0.2.1: Contributed functionality for Hspec

Safe HaskellNone
LanguageHaskell2010

Test.Hspec.Contrib.LoggingFacade

Synopsis

Documentation

captureLogs :: IO a -> IO ([LogRecord], a) Source

Capture all logs produced by an IO action. Logs are kept in memory.