Created
May 30, 2018 09:01
-
-
Save jfversluis/f4fcc3ceedac05bc1208286b367042f1 to your computer and use it in GitHub Desktop.
Enabling trace logs from Xamarin.Forms internals
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public App() | |
{ | |
// Where the magic happens... ✨ | |
Xamarin.Forms.Internals.Log.Listeners.Add(new DelegateLogListener((arg1, arg2) => Debug.WriteLine(arg2))); | |
InitializeComponent(); | |
MainPage = new MainPage(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment