It would be great to have debug-like namespacing / filtering, combined with log levels.

https://www.npmjs.com/package/debug

will do