2
Vote

New method PhoneLogger.Clear()

description

It should be possible to clear the log-file.

I want to check with "string.IsNullOrEmpty(PhoneLogger.LogContents)" if any errors are logged and if so I show a button to send all logged data via mail.
After sending the mail I want to show a message box if the logfile should be cleared (in case the mail writing was aborted).

When there is no (new) error I don't want to bother the user with the "send error report"-button.

comments