I saw a few weeks back a function/module in nodejs where you could set an environment variable to decide the loglevel and filtering, and then use a function in your program that would only print out info IF loglevel matched.
I am going insane, I cannot find what it was. But I do remember that was an existing module,that -- possibly -- came with Express.
I have been looking for 2 hours. Do you happen to know what it was?