structlog_sentry_logger._config¶
Module contents¶
-
class
structlog_sentry_logger._config.SentryBreadcrumbJsonProcessor(level=30, breadcrumb_level=20, active=True, as_extra=True, tag_keys=None)[source]¶ Bases:
structlog_sentry.SentryJsonProcessorAddresses: SentryJsonProcessor breaks logging breadcrumbs #25 (source)
- Parameters
level (
int) – events of this or higher levels will be reported to Sentry.active (
bool) – a flag to make this processor enabled/disabled.as_extra (
bool) – send event_dict as extra info to Sentry.tag_keys (
Union[List[str],str,None]) – a list of keys. If any if these keys appear in event_dict, the key and its corresponding value in event_dict will be used as Sentry event tags. use “__all__” to report all key/value pairs of event as tags.breadcrumb_level (int) –
- Return type