SentryLoggerBackend

Provides a Logger backend for Sentry, to automatically submit Logger events above a configurable threshold to Sentry

Installation

  1. Add sentry_logger_backend to your list of dependencies in mix.exs:
def deps do
  [{:sentry_logger_backend, "~> 0.1.0"}]
end
  1. Add SentryLoggerBackend to the list of logger backends in your config, e.g.
config :logger, backends: [:console, SentryLoggerBackend]
  1. Set the level threshold (defaults to :error):
config :logger, SentryLoggerBackend, level: :error

License

This project is licensed under the MIT License.