Currently https://github.com/axiom-crypto/halo2-browser/blob/f3d696474d4be04809d6e3266c1841d2dc96d6bf/halo2-lib-js/src/shared/log.ts support redirection for log and time/timeEnd manually. Instead we should just take in a "logger" object that implements the console interface and then avoid assigning all the different console functions separately (instead, just override the entire console).
Currently https://github.com/axiom-crypto/halo2-browser/blob/f3d696474d4be04809d6e3266c1841d2dc96d6bf/halo2-lib-js/src/shared/log.ts support redirection for
logandtime/timeEndmanually. Instead we should just take in a "logger" object that implements theconsoleinterface and then avoid assigning all the different console functions separately (instead, just override the entireconsole).