From ffccca257f98c1f8aa2c9b6f02395b851c4db1d0 Mon Sep 17 00:00:00 2001 From: Jaime van Kessel Date: Mon, 16 Dec 2019 11:15:25 +0100 Subject: [PATCH] Add some documentation to SentryLogger --- plugins/SentryLogger/SentryLogger.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/plugins/SentryLogger/SentryLogger.py b/plugins/SentryLogger/SentryLogger.py index 93db965a17..8367cfc26e 100644 --- a/plugins/SentryLogger/SentryLogger.py +++ b/plugins/SentryLogger/SentryLogger.py @@ -11,6 +11,12 @@ home_dir = os.path.expanduser("~") class SentryLogger(LogOutput): + # Sentry (https://sentry.io) is the service that Cura uses for logging crashes. This logger ensures that the + # regular log entries that we create are added as breadcrumbs so when a crash actually happens, they are already + # processed and ready for sending. + # Note that this only prepares them for sending. It only sends them when the user actually agrees to sending the + # information. + _levels = { "w": "warning", "i": "info",