Merge pull request #1407 from NativeScript/atanasovg/snapshot-refactorings

Atanasovg/snapshot refactorings
This commit is contained in:
Georgi Atanasov
2016-01-25 10:29:24 +02:00
38 changed files with 1107 additions and 809 deletions

View File

@@ -303,6 +303,11 @@ export class Console implements definition.Console {
}
private logMessage(message: string, messageType: number): void {
if (!global.android) {
// This case may be entered during heap snapshot where the global.android is not present
return;
}
var arrayToLog = [];
if (message.length > 4000) {
var i;