mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 22:47:29 -06:00
Add some documentation to SentryLogger
This commit is contained in:
parent
62ea766880
commit
ffccca257f
1 changed files with 6 additions and 0 deletions
|
@ -11,6 +11,12 @@ home_dir = os.path.expanduser("~")
|
||||||
|
|
||||||
|
|
||||||
class SentryLogger(LogOutput):
|
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 = {
|
_levels = {
|
||||||
"w": "warning",
|
"w": "warning",
|
||||||
"i": "info",
|
"i": "info",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue