Open notthetup opened 11 months ago
Currently, fjage.js uses the basic console.log API for logging. For dynamically enabling/disabling logging we use the gateway.debug flag. This doesn't scale.
console.log
gateway.debug
We should instead use a proper framework like https://github.com/pimterry/loglevel for logging.
Currently, fjage.js uses the basic
console.log
API for logging. For dynamically enabling/disabling logging we use thegateway.debug
flag. This doesn't scale.We should instead use a proper framework like https://github.com/pimterry/loglevel for logging.