Option to disable logging to console when syncing/updating data
See original GitHub issueHey 👋
opts.syncForm()
logs the updates to the console every time the form data has changed. When this is used in content scripts (as opposed to background/popup/options scripts) it (in my opinion) pollutes the console. I suggest add logging to the console as an “option” passed to the syncForm function as an optional argument like so:
// This is an optional argument
// Default value can be `true` as it currently is
const options = {
logging: false;
};
opts.syncForm(form, options);
Cheers,
Mihir
Issue Analytics
- State:
- Created 5 years ago
- Comments:7 (7 by maintainers)
Top Results From Across the Web
Manage who can sync browser settings - Google Support
Use your Admin console to turn Chrome sync on or off. Users who have sync turned on can synchronize their bookmarks, history, browser...
Read more >Enable Data Access audit logs - Google Cloud
To access audit log configuration options in the Google Cloud console, follow these steps: From the Google Cloud console, select IAM & Admin...
Read more >Syncing Xbox game saves to the cloud error messages
You have two options: Select Sync last saved data to stop the other console's upload and instead sync the data on the console...
Read more >Console log formatting - .NET - Microsoft Learn
Learn how to use available console log formatting, or implement custom log formatting for your .NET applications.
Read more >16.1.6.4 Binary Logging Options and Variables
The default location for binary log files is the data directory. ... If you want to disable binary logging for a server start...
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 FreeTop 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
Top GitHub Comments
Ah yeah because
_applyToForm
is a static method. You can changed it to be a regular method and change its calls fromOptionsSync._applyToForm
tothis._applyToForm
Also
And
Thanks! Please publish to npm too ☺️