本文整理汇总了TypeScript中@ubiquits/core/common.Logger.source方法的典型用法代码示例。如果您正苦于以下问题:TypeScript Logger.source方法的具体用法?TypeScript Logger.source怎么用?TypeScript Logger.source使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类@ubiquits/core/common.Logger
的用法示例。
在下文中一共展示了Logger.source方法的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的TypeScript代码示例。
示例1: constructor
constructor(loggerBase: Logger,
private activatedRoute: ActivatedRoute,
private router: Router,
private store: SlideStore) {
this.logger = loggerBase.source('SlideComponent');
this.slideCollection$ = Observable.fromPromise(store.findMany());
this.slides$ = this.slideCollection$.flatMap(c => Observable.from(c));
this.slideCount$ = this.slides$.count();
}
示例2: constructor
constructor(loggerBase: Logger, private route: ActivatedRoute) {
this.logger = loggerBase.source('SlideComponent')
}
示例3: constructor
constructor(loggerBase: Logger, private route: ActivatedRoute, protected store: SlideStore) {
this.logger = loggerBase.source('PresenterComponent');
this.slideCollection$ = Observable.fromPromise(store.findMany());
}
示例4: constructor
constructor(loggerBase: Logger) {
super();
this.logger = loggerBase.source('Example Service');
}
示例5: constructor
constructor(loggerBase: Logger, protected router: Router, protected activatedRoute:ActivatedRoute) {
this.logger = loggerBase.source('PresentationComponent')
}