Open darkpixel opened 3 years ago
It would be a nice addition if the app paid attention to the environment variables DEBUG, LOG_LEVEL, and LOG_DEBUG.
i.e. LOG_LEVEL=info LOG_DEBUG=myapp,myapi node index.js
LOG_LEVEL=info LOG_DEBUG=myapp,myapi node index.js
Using that example it would cause only INFO and above to be output and only from 'myapp' or 'myapi'.
It would be a nice addition if the app paid attention to the environment variables DEBUG, LOG_LEVEL, and LOG_DEBUG.
i.e.
LOG_LEVEL=info LOG_DEBUG=myapp,myapi node index.js
Using that example it would cause only INFO and above to be output and only from 'myapp' or 'myapi'.