diff options
author | Nino van Hooff <ninovanhooff@gmail.com> | 2020-05-15 14:34:58 +0300 |
---|---|---|
committer | Nino van Hooff <ninovanhooff@gmail.com> | 2020-05-15 14:34:58 +0300 |
commit | 58e43c0a07cbd349e3df433352f5f56aa5e0c26d (patch) | |
tree | 386875ac54333bb44b90dc3acdd09dee5944d5e1 /plugins/SentryLogger | |
parent | a09cd0e63e6b5cffba068c9f704b01280b2313e7 (diff) |
Convert doxygen to rst for SentryLogger, SimulationView, SliceInfo,
SolidView
Diffstat (limited to 'plugins/SentryLogger')
-rw-r--r-- | plugins/SentryLogger/SentryLogger.py | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/plugins/SentryLogger/SentryLogger.py b/plugins/SentryLogger/SentryLogger.py index 51e77ad589..55bcc7e806 100644 --- a/plugins/SentryLogger/SentryLogger.py +++ b/plugins/SentryLogger/SentryLogger.py @@ -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: |