public virtual void set(string text) { try { if (!ToolMobile.existsDir(_dir)) { ToolMobile.createDir(_dir); } var indx = XmlFormating.helper.format(DateTime.Now); text = "[EVENT::" + indx + "]\n" + text + "\n"; string logFile = string.Format("LOG-{0}.txt", ToolString.left(indx, 10)); ToolMobile.appendFileText(_dir, logFile, text); } catch (Exception exc) { } }