@rrweb/rrweb-plugin-console-record

Please refer to the console recipe on how to use this plugin See the guide for more info on rrweb.