| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Test.Hspec.Contrib.LoggingFacade
Description
Deprecated: Use Test.Mockery.Logging from package mockery instead
- captureLogs :: IO a -> IO ([LogRecord], a)
Documentation
captureLogs :: IO a -> IO ([LogRecord], a) Source
Capture all logs produced by an IO action. Logs are kept in memory.