def _post_call(atdepth, package, fqdn, result, entry, bound, ekey, argl, argd):
from time import time<EOL>if not atdepth and entry is not None:<EOL><INDENT>ek = ekey<EOL>if result is not None:<EOL><INDENT>retid = _tracker_str(result)<EOL>if result is not None and not bound:<EOL><INDENT>ek = retid<EOL>entry["<STR_LIT:r>"] = None<EOL><DEDENT>else:<EOL><INDENT>entry["<STR_LIT:r>"] = retid<EOL><DEDENT><DEDENT>name = fqdn.split('<STR_LIT:.>')[-<NUM_LIT:1>]<EOL>if filter_name(fqdn, package, "<STR_LIT:time>"):<EOL><INDENT>entry["<STR_LIT:e>"] = time() - entry["<STR_LIT:s>"]<EOL><DEDENT>if filter_name(fqdn, package, "<STR_LIT>"):<EOL><INDENT>entry["<STR_LIT:z>"] = analyze(fqdn, result, argl, argd)<EOL><DEDENT>msg.info("<STR_LIT>".format(ek, entry), <NUM_LIT:1>)<EOL>record(ek, entry)<EOL>return (ek, entry)<EOL><DEDENT>else:<EOL><INDENT>return (None, None)<EOL><DEDENT>
Finishes constructing the log and records it to the database.