dylang / dylang/logging

Support for log levels?

Open
#13 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
55
Forks
14
PR merge metrics
No merged PRs in 30d

Description

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'.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.