[Ignore] // TODO: The test is currently failing. public async Task LoggerTest() { for (int i = 0; i < 2; i++) { AdalTrace.Level = AdalTraceLevel.Informational; string guidValue = Guid.NewGuid().ToString(); Logger.Information(null, "{0}", guidValue); StorageFolder sf = ApplicationData.Current.LocalFolder; AdalTrace.Level = AdalTraceLevel.None; StorageFile file = await sf.GetFileAsync("AdalTraces.log"); try { string content = await FileIO.ReadTextAsync(file); Log.Comment(content); Verify.IsTrue(content.Contains(guidValue)); } catch (Exception ex) { throw ex; } } }