Saves current log information to the given filename.
filename
a filename to save logged information to
whether succeeded