rn-snoopy/formatting.js

5 lines
177 B
JavaScript

const stringify = (info)=>`${info.type == 0 ? 'N->JS' : 'JS->N'} : ${info.module ? (info.module+'.') : ''}${info.method}(${JSON.stringify(info.args)}) *`
export { stringify }