code: def error(self, msg: str) -> None:
          
          # noinspection PyUnresolvedReferences
          s = "{}: {}".format(self.fullname, msg)
          servicemanager.LogErrorMsg(s)
          if self.debugging:
              log.warning(s)
docs: Write an error message to the Windows Application log
          (± to the Python disk log).