[Roots] Add useful logging for components

This commit is contained in:
Victor Woeltjen 2016-10-19 16:18:50 -07:00
parent a143b21ea1
commit a3847bcca5

View File

@ -128,6 +128,8 @@ define(
latest[service] = name;
app.service(name, dependencies.concat([provider]));
$log.info("Registering provider for " + service);
}
// Register an array of providers as a single dependency;
@ -138,6 +140,13 @@ define(
var name = makeName("provider", service, "*"),
list = providerLists[service];
$log.info([
"Compositing",
list.length,
"providers for",
service
].join(" "));
app.service(name, list.concat([echoMany]));
});
}