@staticmethod<EOL><INDENT>def _fmt_structured(d):<DEDENT>
timeEntry = datetime.datetime.utcnow().strftime(<EOL>"<STR_LIT>")<EOL>pidEntry = "<STR_LIT>" + str(os.getpid())<EOL>rest = sorted('<STR_LIT:=>'.join([str(k), str(v)])<EOL>for (k, v) in list(d.items()))<EOL>return '<STR_LIT:U+0020>'.join([timeEntry, pidEntry] + rest)<EOL>
Formats '{k1:v1, k2:v2}' => 'time=... pid=... k1=v1 k2=v2'

        Output is lexically sorted, *except* the time and pid always
        come first, to assist with human scanning of the data.