CEIP.uploadLogs Member
Internal.
Syntax
object.uploadLogs();
Returns
Remarks
See Also
Source Code
function ceip_uploadlogs()
{
const nsILocalFile = Components.interfaces.nsILocalFile;
try
{
var logPath = this.getLogFolder();
if (!logPath.exists())
return;
var enumerator = logPath.directoryEntries;
var re = new RegExp("^\\d+\\.xml", "i");
while (enumerator.hasMoreElements())
{
var file = enumerator.getNext().QueryInterface(nsILocalFile);
if (re.test(file.leafName))
this.uploadLog(file);
}
}
catch(ex)
{
this.logEvent({type: "logger", event: "error", method: "uploadLogs",
error: formatException(ex)});
}
}