async private void adView_LoggingEvent(object sender, MASTAdView.LoggingEventEventArgs e)
 {
     // Since these events can come from a non-main/UI thread, dispatch properly.
     await Dispatcher.RunAsync(Windows.UI.Core.CoreDispatcherPriority.Normal, delegate()
     {
         textBlock.Text += "LogLevel:" + e.LogLevel + " Entry:" + e.Entry + "\n\n";
     });
 }
        private void adView_LoggingEvent(object sender, MASTAdView.LoggingEventEventArgs e)
        {
            string entry = "adView_LoggingEvent LogLevel:" + e.LogLevel + " Entry:" + e.Entry;

            addEntry(entry);
        }