faro-web-sdk
faro-web-sdk copied to clipboard
Default internalLoggerLevel to OFF for Production use cases, and document how to set it for Development
Description
By default, the faro-web-sdk will log at level.ERROR. However, the errors appear in the Application users' consoles, so are not useful unless in a development setting.
Proposed solution
internalLoggerLevel could be set to Level.OFF by default, and developer documentation updated to suggest setting it to INFO or ERROR level when initially setting up instrumentation for an application. Users should be instructed to turn the logging off when in a Production setting, unless they wish their users to see error messages caused by background telemetry transmission.
Context
I second that!