You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A very useful feature I think would be to allow someone to set the log level through an environment variable, even if it's just for debug. So you can do something like
$ DEBUG=1 deno script.ts
and it will print debug logs, overriding the settings in createLogger.
It's currently possible to do this by adding a ternary condition when instantiating the logger, however I feel this would be better off in the module itself
A very useful feature I think would be to allow someone to set the log level through an environment variable, even if it's just for debug. So you can do something like
and it will print debug logs, overriding the settings in createLogger.
It's currently possible to do this by adding a ternary condition when instantiating the logger, however I feel this would be better off in the module itself
It would need to be toggleable through a setting (default to true ofc), maybe something like this:
The text was updated successfully, but these errors were encountered: