feat: add SentryStreamHandler as drop-in log.Handler
Creates a custom SentryStremHandler that functions analgously to a log.StreamHandler, with the exception that any LvlError logs or higher are posted to Sentry. It also leverages the existing go-ethereum logging formatters, specifically JSONFormat, to post any additional log context items as a JSON blob via extra data.
Showing
This diff is collapsed.
Please register or sign in to comment