code: def emit(self, record):
          # pylint: disable=W0212
          
          # Get the bundle
          bundle = self._bundle_from_module(record.module)
  
          # Convert to a LogEntry
          entry = LogEntry(
              record.levelno, record.getMessage(), None, bundle, None
          )
          self._reader._store_entry(entry)
docs: Handle a message logged with the logger
  
          :param record: A log record