Liking cljdoc? Tell your friends :D

blueprint.handler.reporter

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`.
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close