mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 14:37:29 -06:00
Convert doxygen to rst for SentryLogger, SimulationView, SliceInfo,
SolidView
This commit is contained in:
parent
a09cd0e63e
commit
58e43c0a07
4 changed files with 37 additions and 21 deletions
|
@ -33,10 +33,12 @@ class SentryLogger(LogOutput):
|
|||
super().__init__()
|
||||
self._show_once = set() # type: Set[str]
|
||||
|
||||
## Log the message to the sentry hub as a breadcrumb
|
||||
# \param log_type "e" (error), "i"(info), "d"(debug), "w"(warning) or "c"(critical) (can postfix with "_once")
|
||||
# \param message String containing message to be logged
|
||||
def log(self, log_type: str, message: str) -> None:
|
||||
"""Log the message to the sentry hub as a breadcrumb
|
||||
|
||||
:param log_type: "e" (error), "i"(info), "d"(debug), "w"(warning) or "c"(critical) (can postfix with "_once")
|
||||
:param message: String containing message to be logged
|
||||
"""
|
||||
level = self._translateLogType(log_type)
|
||||
message = CrashHandler.pruneSensitiveData(message)
|
||||
if level is None:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue