code: def logDict(self,d):
          
          keys = list(d.keys())
          keys.sort()
          s = "\n"+"-"*78+"\n"+" "*20+"dictionary provided contains:\n"+"-"*78+"\n"
          for key in keys:
              s+=key+" = "+repr(d[key])+"\n"
          self.fileonly(s+"-"*78+"\n")
docs: Log all Key=value for every key in a dictionary.
            
          Args:
              d (dictionary): A standard python dictionary.