Safe Haskell | None |
---|---|
Language | Haskell2010 |
Reporting for development This reporter logs basic information about requests in a human-readable format, for use in a development console.
The development logs produced are quite sparse. To dig deeper this reporter will also make tracing data available in the log-explorer tool. You can find it here:
https://github.com/NoRedInk/haskell-libraries/tree/trunk/nri-log-explorer
Documentation
report :: Handler -> Text -> TracingSpan -> IO () Source #
Print basic information about requests to stdout and make more detailed information available to the log-explorer tool.
Example usage: > handler <- Dev.handler > Dev.report handler "request-id" span
Contextual information this reporter needs to do its work. You can create
one using handler
.