This would be really handy. Logs are essential for development, but we don't want them in non-development environments. It'd be helpful to have a function that automates this like so:
import joystick from '@joystick.js/node';
joystick.log_in_development('something to log');
This would just be a wrapper with an env check around the native console.log().
This would be really handy. Logs are essential for development, but we don't want them in non-development environments. It'd be helpful to have a function that automates this like so:
This would just be a wrapper with an env check around the native
console.log()
.