code: def lastLogged(self):
          
          d = copy.deepcopy(self.__lastLogged)
          d.pop(-1, None)
          return d
docs: Get a dictionary of last logged messages.
          Keys are log types and values are the the last messages.