I am currently rebuilding our internal logging and found that when I want additional info via the "debug" flag then I can only pass a boolean to the constructor (according to the docs).
Optimally, I would want to pass a function that replaces the internal console.log as output target. The boolean flag could remain as non-breaking default.
what do you think?