Write Log Entry
log.write(id, msg)
Writes the
id
and
message
to the log file.