Skip to content

Commit 9d92f68

Browse files
authored
refactor: log uptime when Angular Bootstrap finished (#1067)
1 parent b297ef9 commit 9d92f68

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: nativescript-angular/platform-common.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import "./zone-js/dist/zone-nativescript";
66
import "reflect-metadata";
77
import "./polyfills/array";
88
import "./polyfills/console";
9-
import { profile } from "tns-core-modules/profiling";
9+
import { profile, log, uptime } from "tns-core-modules/profiling";
1010

1111
import {
1212
Type,
@@ -187,7 +187,7 @@ export class NativeScriptPlatformRef extends PlatformRef {
187187
"nativescript-angular/platform-common.postBootstrapAction";
188188
bootstrapAction().then(profile(bootstrapMethodName, moduleRef => {
189189
// profiling.stop("ng-bootstrap");
190-
rendererLog("ANGULAR BOOTSTRAP DONE.");
190+
log(`ANGULAR BOOTSTRAP DONE. ${uptime()}`);
191191
lastBootstrappedModule = new WeakRef(moduleRef);
192192

193193
if (resolve) {

0 commit comments

Comments
 (0)