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
We upgraded to 4.3.2 and are all of a sudden not getting logs in stderr (using in a node script).
The regressions seems to have been caused by #799
Admittedly we're perhaps using the library not exactly in a way that it was intended to be used. We aren't setting DEBUG environment variable, so process.env.DEBUG is undefined, but our namespaces are named example-namespace* with a trailing *. These were previously logging, now they're not.
Conventions
If you append a "*" to the end of your name, it will always be enabled regardless of the setting of the DEBUG environment > variable. You can then use it for normal output as well as debug output.
Activity
Qix- commentedon Sep 12, 2021
FWIW this isn't really supported, and dare I say deprecated; you should attempt to remove those ASAP.
I'll have to take a look and see, but you're the only one reporting this so I have to assume (without checking) that it's related.
ulysses2000 commentedon Sep 13, 2021
abbylyra commentedon Jul 5, 2024
Hi, the docs debug.js say
If this is deprecated i would remove it.