Global log disable
See original GitHub issueIs your feature request related to a problem? Please describe. I’m incorporating signale into a project, and could not find an easy way to configure signale to be globally disabled in tests, across all files and scopes.
Describe the solution you’d like
signale.config({
disable: process.env.NODE_ENV === 'test'
})
Please let me know if there’s a way to do this already and whether I can start working on this. Thanks!
Issue Analytics
- State:
- Created 5 years ago
- Reactions:1
- Comments:5 (3 by maintainers)
Top Results From Across the Web
How can I disable logging while running unit tests in Python ...
This will disable logging globally in the unit test suite. # tests/unit/__init__.py import logging logging.disable(logging.CRITICAL).
Read more >How to disable logging from imported modules in Python?
To disable logging from imported modules in Python we need to use the getLogger() function. The getLogger() function. The name of the logger...
Read more >Global Protect Disable Reason - LIVEcommunity - 250535
Solved: Global Protect Client is setup so that users can disable VPN however they need to input a reason why they disabled the...
Read more >Enable or disable General Log for sql query in MySQL.
General_log system variable controls logging to the general query log for the selected log destinations. General_log value 0 for disable or 1 ...
Read more >MySQL Disable Binary Logging: The Complete Guide - Learn
This article is all about MySQL Disable Binary Logging. Binary Logging stores the Database changes in files called Binary Logs.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Nice! Once the feature is added, it will be super easy to utilize it, as it will be reduced to just a single option;
just as you initially described. This will be the last addition before we hit
1.2.0
: )Sweet, looking forward to it!