code: def to_dict(self):
          
  
          msg_dict = {}
          msg_dict['level'] = self.level
          msg_dict['message'] = self.message
          msg_dict['now_time'] = monotonic()
          msg_dict['created_time'] = self.created
          msg_dict['id'] = self.id
          msg_dict['count'] = self.count
  
          return msg_dict
docs: Create a dictionary with the information in this message.
  
          Returns:
              dict: The dictionary with information