TypeScript @alfresco-adf-core.LogService类(方法)实例源码

下面列出了TypeScript @alfresco-adf-core.LogService 类(方法)源码代码实例,从而了解它的用法。

作者:Alfresc    项目:alfresco-ng2-component   
constructor(private documentList: DocumentListComponent, private logService: LogService ) {
     this.logService.log('ContentColumnListComponent is deprecated starting with 1.7.0 and may be removed in future versions. Use DataColumnListComponent instead.');
 }

作者:Alfresc    项目:alfresco-ng2-component   
private handleError(error: any) {
     this.logService.error(error);
     return throwError(error || 'Server error');
 }

作者:Alfresc    项目:alfresco-ng2-component   
map(() => {
     this.logService.info('delete');
 }),

作者:Alfresc    项目:alfresco-ng2-component   
private onSearchUserError(): Observable<UserProcessModel[]> {
     this.logService.error('getWorkflowUsers threw error');
     return of([]);
 }

作者:Alfresc    项目:alfresco-ng2-component   
onError(error: string) {
     this.logService.log(error);
 }

作者:Alfresc    项目:alfresco-ng2-component   
(err: any) => {
     this.logService.error(err);
 });


问题


面经


文章

微信
公众号

扫码关注公众号