Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Produce pretty, thread-safe logs
Synopsis
- data Verbosity
- data Logger
- new :: Verbosity -> IO Logger
- flush :: Logger -> forall m. MonadIO m => m ()
- error :: MonadIO m => Logger -> String -> m ()
- header :: MonadIO m => Logger -> String -> m ()
- message :: MonadIO m => Logger -> String -> m ()
- debug :: MonadIO m => Logger -> String -> m ()
- newInMem :: IO (Logger, IO [(Verbosity, String)])