(self, message, *args, **kwargs)
| 30 | logging.addLevelName(SUCCESS_LEVEL_NUM, "SUCCESS") |
| 31 | |
| 32 | def success(self, message, *args, **kwargs): |
| 33 | if self.isEnabledFor(SUCCESS_LEVEL_NUM): |
| 34 | self._log(SUCCESS_LEVEL_NUM, message, args, **kwargs) |
| 35 | |
| 36 | logging.Logger.success = success |
| 37 |