A Microsoft framework for building cross-platform mobile apps using .NET and C# with native performance and user interfaces.
Hello,
Welcome to our Microsoft Q&A platform!
For this, you can add event DelegateLogListener to get the log in the Output Window.
We just need to add the following code in file App.xaml.cs:
Xamarin.Forms.Internals.Log.Listeners.Add(new DelegateLogListener((arg1, arg2) => Debug.WriteLine(arg2)));
The full code is :
public App()
{
// Where the magic happens…
Xamarin.Forms.Internals.Log.Listeners.Add(new DelegateLogListener((arg1, arg2) => Debug.WriteLine(arg2)));
InitializeComponent();
MainPage = new MainPage();
}
You can check article Detecting Xamarin.Forms Binding Errors in the Output Window.
And you can also find a sample at the bottom of above link: https://github.com/jfversluis/BindingFailureOutputSample
For more details,you can check:
https://github.com/xamarin/Xamarin.Forms/issues/2639
Best Regards,
Jessie Zhang
---
If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.