From ed4c178a76fb2956e0ab9eb0ac3e210a881824f5 Mon Sep 17 00:00:00 2001 From: Victor Woeltjen Date: Tue, 4 Nov 2014 16:13:09 -0800 Subject: [PATCH] [Framework] Log application bootstrapping Log bootstrapping phase of framework layer initialization. WTD-518. --- platform/framework/src/ApplicationBootstrapper.js | 3 ++- platform/framework/src/Main.js | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/platform/framework/src/ApplicationBootstrapper.js b/platform/framework/src/ApplicationBootstrapper.js index 10d3f27c80..b8357d373f 100644 --- a/platform/framework/src/ApplicationBootstrapper.js +++ b/platform/framework/src/ApplicationBootstrapper.js @@ -19,7 +19,7 @@ define( * * @constructor */ - function ApplicationBootstrapper(angular, document) { + function ApplicationBootstrapper(angular, document, $log) { return { /** * @method @@ -28,6 +28,7 @@ define( * bootstrap */ bootstrap: function (app) { + $log.info("Bootstrapping application " + (app || {}).name); angular.element(document).ready(function () { angular.bootstrap(document, [app.name]); }); diff --git a/platform/framework/src/Main.js b/platform/framework/src/Main.js index 4616618361..d1acac152f 100644 --- a/platform/framework/src/Main.js +++ b/platform/framework/src/Main.js @@ -66,7 +66,8 @@ define( ), bootstrapper = new ApplicationBootstrapper( angular, - window.document + window.document, + $log ), initializer = new FrameworkInitializer( loader,