Console Module
Import
import console from 'console';
The console module works in the development environment to allow developers to log debug
info to a Chrome browser. To add support for this feature and to start seeing console messages in the Chrome console, install the Chrome Logger extension
Standard javascript browser console commands are supported (log, warn, error, info, table, assert, count, time, timeEnd, group, groupEnd, groupCollapsed);
📘NoteThere is some overhead associated with using the console logger, so time and timeEnd should be considered inaccurate.
JavaScript
console.time('load');
console.log(org.objects.accounts.find().limit(1).paths('created').next());
console.timeEnd('load');

Last modified 1yr ago