Using gardens makes it easier to handle your log output and debuggingcode by giving you the ability to break your output into named scopes, handle errors in a unified way, and use the same library for it all regardless of what your deployment target is. It supports scope nesting, custom colors and styles, time stamps, high resolution timing, HTML output, and many other fun things!
- React Native
// CommonJS (Node.js, Electron) const gardens = require( 'gardens' );
// CommonJS (React Native) const gardens = require( 'gardens/native' );
// Bundled ES6 (Browsers, Rollup, Webpack, Parcel, etc.) import gardens from 'gardens';
// ES6 (Deno) import gardens from 'https://deno.land/x/gardens/mod.ts';