Writes the log to disk and prepare to log to a new file
Logger Class | PocketContext Namespace | Logger.WriteLog Overload List