code: def error(self, message):
          
          if Settings.ErrorLogs:
              self._write_log("error", Settings.LogTime, message)
docs: Records an Error-level log message
  
          Uses the log path defined by ``Debug.setUserLogFile()``. If no log file is
          defined, sends to STDOUT