Added new print-console command to print captured console log messages.