Safe Haskell | None |
---|---|
Language | Haskell2010 |
Use this module to add logging to your monad. A log is a structured value that can hold information like severity, log message, timestamp, callstack, etc.
Logging is treated like a stream of logs comming from your application and functions that
transform the logs take a stream and output a stream. Functions like logInfo
push a new log
into the stream and functions like setTimestampToNow
take a stream of logs and attach extra
info onto each log (current time in this case).
Read the documentation of individual functions to get a feel for what you can do.
Documentation
module Control.Effects