The best third party JS|TS
library scaffold.
- install:
npm i console-intercept
- use in browser:
import { intercept } from 'console-intercept'
- use in node:
const { intercept } from 'console-intercept'
- intercept:
intercept((name, args) => { //name is console's methods name, args is console's arguments })
- setRemoteLog:
setRemoteLog(appName, url)