Closed krambox closed 4 years ago
I can offer to write a configureable console.log
wrapper or a simple logger and replace all log lines, if maintainers approve.
@krambox thank you note, please help add the configuration @anri-asaturov
@ceddybi so you prefer to have a console.log wrapper, so you can continue using console.log as is without rewriting existing lines, or you want a logger module?
@anri-asaturov thank you please add logger if possible
am running a POC, that's why there is lots of iterations and console.log, I wasn't aware others might be using it, with your help we can make it production-ready, there's a few other missing things like Orders but for that am working on it
I suggest to use debug (https://www.npmjs.com/package/debug) instead of console.log This is a good way to customize the output.
Currently the ibkr writes a lot of text with chalk on the console, which cannot be deactivated. Better would be an output with debug or a deactivation of the console log.