def record(ekey, entry, diff=False):
taskdb = active_db()<EOL>taskdb.record(ekey, entry, diff)<EOL>taskdb.save()<EOL>
Records the specified entry to the key-value store under the specified
    entity key.

    Args:
        ekey (str): fqdn/uuid of the method/object to store the entry for.
        entry (dict): attributes and values gleaned from the execution.
        diff (bool): when True, the "c" element of `entry` will be diffed
          against previous entries under the same `ekey` if their method
          (attribute "m") matches.