Skip to content

Instantly share code, notes, and snippets.

@jfversluis
Created May 30, 2018 09:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jfversluis/f4fcc3ceedac05bc1208286b367042f1 to your computer and use it in GitHub Desktop.
Save jfversluis/f4fcc3ceedac05bc1208286b367042f1 to your computer and use it in GitHub Desktop.
Enabling trace logs from Xamarin.Forms internals
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