Configure Logging Levels with Firebase Remote Config
Logging to a cloud service is helpful when it is necessary, but can result in too much information pouring in during production. This functionality should be configurable based on a remotely-specified logging level.
In the Firebase Remote Configuration console, a manager should be able to specify the following log types:
- verbose (Least serious)
- debug
- info
- warn
- error (Most serious)
Therefore, if the manager specifies warn as the configured logging level, all warning and error messages are logged to Loggly. If verbose is selected, then all message types are logged to Loggly.
Note: By default, when Firebase cannot reach out to the Remote Config service, the app should default to warn level.
Edited by Oliver Spryn