- Introduced a log() function to capture console output to a file - Added date separator and blank lines for better readability - Stripped ANSI color codes to avoid strange characters in the log