Convert doxygen to rst for SentryLogger, SimulationView, SliceInfo,

SolidView
This commit is contained in:
Nino van Hooff 2020-05-15 13:34:58 +02:00
parent a09cd0e63e
commit 58e43c0a07
4 changed files with 37 additions and 21 deletions

View file

@ -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: