code: def _push_event(self, evt):
          
          self._append(evt)
          import datetime
          now = datetime.datetime.now()
          try:
              date = self._get_date(evt)
          except:
              date = now
          try:
              reception_date = evt.reception_date.todatetime()
          except:
              reception_date = now
          try:
              evt_type = evt.event.upper()
          except:
              evt_type = "<UNKNOWN>"
          try:
              dev_name = evt.device.dev_name().upper()
          except:
              dev_name = "<UNKNOWN>"
          try:
              attr_name = evt.attr_name.split("/")[-1].upper()
          except:
              attr_name = "<UNKNOWN>"
          try:
              value = self._get_value(evt)
          except Exception as e:
              value = "Unexpected exception in getting event value: %s" % str(e)
          d = {"date": date, "reception_date": reception_date,
               "type": evt_type, "dev_name": dev_name, "name": attr_name,
               "value": value}
          print(self._msg.format(**d), file=self._fd)
docs: Internal usage only