In iOS and Android projects, there is a default Mono log level that is set implicitly. This level I believe is currently "info" which can be quite chatty and scare developers into thinking something has gone wrong when running their application and viewing the output. This is controlled by Mono logging trace level:
This feature request hopes to outline the need for a GUI property that can be set in both a Xamarin.Android and Xamarin.iOS project in which one can change the respective Mono Log Level via a dropdown UI element in the project options with the values of:
Here is the command line help snippet for MONO_LOG_LEVEL - http://docs.go-mono.com/?link=man%3amono(1)
The MONO_LOG_LEVEL environment variable if set, the logging level is
changed to the set value. Possible values are "error", "critical",
"warning", "message", "info", "debug". The default value is "error".
Messages with a logging level greater then or equal to the log level
will be printed to stdout/stderr.
Use "info" to track the dynamic loading of assemblies.
The reasoning behind this item is that this will help developers set these values(instead of having them do it via environment files and build actions), and also allow the developer to experiment with the value for their project's needs.
It would also be helpful if each value has a description of what type of logging you will respectfully receive.
How to set - https://developer.xamarin.com/guides/android/advanced_topics/environment/
If `MONO_LOG_LEVEL=info` is set, the `G_LOG_LEVEL_INFO` messages from the mono runtime get mapped to Android's *debug* level and you will see it as `D/Mono` in logcat.
How to set - https://developer.xamarin.com/guides/ios/advanced_topics/environment/#Permanent_environment_variables
Tentatively moving this feature work to 15.6. We will create an associated work item for tracking in VSTS when we begin work on that milestone.
Thanks for taking the time to report this issue. :)
Given this is a feature request or enhancement, I am closing this issue and adding a work item to our backlog.