Writing logs to XML

Writing data to xml makes is much easier to maintains the logs for the
game rather than simple text files, with unique attributes for critters
and towers log for each of them can be uniquely identified.