We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
trace
UIRouter
1 parent bd626fc commit 48c5af6Copy full SHA for 48c5af6
src/router.ts
@@ -14,6 +14,7 @@ import { values, removeFrom } from "./common/common";
14
import { isFunction } from "./common/predicates";
15
import { UrlService } from "./url/urlService";
16
import { LocationServices, LocationConfig } from "./common/coreservices";
17
+import { Trace, trace } from "./common/trace";
18
19
/** @hidden */
20
let _routerInstance = 0;
@@ -37,6 +38,9 @@ export class UIRouter {
37
38
39
$id: number = _routerInstance++;
40
41
+ /** Provides trace information to the console */
42
+ trace: Trace = trace;
43
+
44
/** Provides services related to ui-view synchronization */
45
viewService = new ViewService();
46
0 commit comments