Closed CMCDragonkai closed 3 years ago
Turns out that the DEBUG env variable is a common convention in alot of node apps. And people use: https://www.npmjs.com/package/debug
DEBUG
I like the way DEBUG as a environment variable works, and we can preserve this convention since our loggers have "names" and thus the equivalent of namespaces as well.
Not a priority right now... but worth investigating later.
Our library is still more flexible to have different kinds of error logging capabilities plus the formatting.
I don't think we'll ever need this.
Turns out that the
DEBUG
env variable is a common convention in alot of node apps. And people use: https://www.npmjs.com/package/debugI like the way
DEBUG
as a environment variable works, and we can preserve this convention since our loggers have "names" and thus the equivalent of namespaces as well.