mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 05:35:58 +08:00
Add some documentation to SentryLogger
This commit is contained in:
parent
62ea766880
commit
ffccca257f
@ -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…
x
Reference in New Issue
Block a user