public static void EntryToLogFile() { try { if (AppContext.LogDetails != null) { var result = FileSystem.AppendText(AppContext.LogDetails.ToString(), "log.txt"); } } catch (Exception ex) { LogTrace(ex.ToString()); } }