A replacement for the default error logger which depends on a configured reporter.
The intended use for the exposed function is to find its way in a
server configuration, in the blueprint.handler.error/logger key.
If a reporter is configured - say, through exoscale/mania - you can merge:
{:blueprint.handler.error/logger blueprint.handler.reporter/report}
onto your server options. If you wish to extract more standard keys
from your context when reporting to sentry, build the appropriate
plucking with report-fn.
A replacement for the default error logger which depends on a
configured reporter.
The intended use for the exposed function is to find its way in a
server configuration, in the `blueprint.handler.error/logger` key.
If a reporter is configured - say, through exoscale/mania - you
can merge:
{:blueprint.handler.error/logger blueprint.handler.reporter/report}
onto your server options. If you wish to extract more standard keys
from your context when reporting to sentry, build the appropriate
plucking with `report-fn`.cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |