mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
Merge pull request #1407 from NativeScript/atanasovg/snapshot-refactorings
Atanasovg/snapshot refactorings
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user