In reply to Shashank Gurijala:
This depends on the tool used to view the simulator log file. See ANSI Escape Codes · GitHub