mirror of
https://github.com/nasa/openmct.git
synced 2024-12-19 13:17:53 +00:00
[Roots] Add useful logging for components
This commit is contained in:
parent
a143b21ea1
commit
a3847bcca5
@ -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]));
|
||||
});
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user