@@ -52,7 +52,7 @@ class PaginationContainer extends Component<ModelerProps, PaginationContainerSta
5252    constructor ( props : ModelerProps )  { 
5353        super ( props ) ; 
5454
55-         logger . debug ( this . props . uniqueid ,  ".constructor" ) ; 
55+         mx . logger . debug ( this . props . uniqueid ,  ".constructor" ) ; 
5656
5757        this . updateListView  =  this . updateListView . bind ( this ) ; 
5858        this . translateMessageStatus  =  this . translateMessageStatus . bind ( this ) ; 
@@ -76,21 +76,21 @@ class PaginationContainer extends Component<ModelerProps, PaginationContainerSta
7676    } 
7777
7878    async  componentDidMount ( )  { 
79-         logger . debug ( this . props . uniqueid ,  ".componentDidMount" ) ; 
79+         mx . logger . debug ( this . props . uniqueid ,  ".componentDidMount" ) ; 
8080        const  isValidConfig  =  ! ! mx . session . getConfig ( "uiconfig.translations" ) ; 
8181        if  ( ! isValidConfig )  { 
8282            try  { 
8383                await  getTranslations ( ) ; 
8484            }  catch  ( e )  { 
85-                 logger . debug ( this . props . uniqueid ,  ".loadingTranslations" ,  e . message ) ; 
85+                 mx . logger . debug ( this . props . uniqueid ,  ".loadingTranslations" ,  e . message ) ; 
8686            } 
8787            this . setState ( {  loadTranslations : true  } ) ; 
8888        } 
8989        SharedUtils . delay ( this . connectToListView . bind ( this ) ,  this . checkListViewAvailable . bind ( this ) ,  20 ) ; 
9090    } 
9191
9292    render ( )  { 
93-         logger . debug ( this . props . uniqueid ,  ".render" ) ; 
93+         mx . logger . debug ( this . props . uniqueid ,  ".render" ) ; 
9494        return  createElement ( "div" , 
9595            { 
9696                className : classNames ( "widget-pagination" ,  this . props . class ) , 
@@ -105,7 +105,7 @@ class PaginationContainer extends Component<ModelerProps, PaginationContainerSta
105105    } 
106106
107107    componentWillUnmount ( )  { 
108-         logger . debug ( this . props . uniqueid ,  ".componentWillUnmount" ) ; 
108+         mx . logger . debug ( this . props . uniqueid ,  ".componentWillUnmount" ) ; 
109109        showLoadMoreButton ( this . state . targetListView ) ; 
110110        this . viewStateManager . destroy ( ) ; 
111111    } 
@@ -115,7 +115,7 @@ class PaginationContainer extends Component<ModelerProps, PaginationContainerSta
115115    } 
116116
117117    private  checkListViewAvailable ( ) : boolean  { 
118-         logger . debug ( this . props . uniqueid ,  ".checkListViewAvailable" ) ; 
118+         mx . logger . debug ( this . props . uniqueid ,  ".checkListViewAvailable" ) ; 
119119        if  ( ! this . widgetDom )  { 
120120            return  false ; 
121121        } 
@@ -129,11 +129,11 @@ class PaginationContainer extends Component<ModelerProps, PaginationContainerSta
129129    } 
130130
131131    private  renderPageButton ( ) : ReactNode  { 
132-         logger . debug ( this . props . uniqueid ,  ".renderPageButton" ) ; 
132+         mx . logger . debug ( this . props . uniqueid ,  ".renderPageButton" ) ; 
133133
134134        if  ( this . state . validationPassed  &&  this . state . pageSize  &&  this . state . targetListView ! . _datasource . getSetSize ( )  >  0 )  { 
135135            const  {  offset,  pageSize }  =  this . state ; 
136-             logger . debug ( this . props . uniqueid ,  ".renderPageButton pagesize, offset, listsize" ,  pageSize ,  offset ,  this . state . targetListView ! . _datasource . getSetSize ( ) ) ; 
136+             mx . logger . debug ( this . props . uniqueid ,  ".renderPageButton pagesize, offset, listsize" ,  pageSize ,  offset ,  this . state . targetListView ! . _datasource . getSetSize ( ) ) ; 
137137
138138            return  createElement ( Pagination ,  { 
139139                getMessageStatus : this . translateMessageStatus , 
@@ -152,7 +152,7 @@ class PaginationContainer extends Component<ModelerProps, PaginationContainerSta
152152    } 
153153
154154    public  updateListView ( offSet ?: number ,  pageSize ?: number )  { 
155-         logger . debug ( this . props . uniqueid ,  ".updateListView" ) ; 
155+         mx . logger . debug ( this . props . uniqueid ,  ".updateListView" ) ; 
156156        if  ( this . state . validationPassed )  { 
157157            this . setState ( { 
158158                offset : offSet  !==  undefined  ? offSet  : this . state . offset , 
@@ -194,10 +194,10 @@ class PaginationContainer extends Component<ModelerProps, PaginationContainerSta
194194    } 
195195
196196    private  beforeListViewDataRender ( targetListView : DataSourceHelperListView )  { 
197-         logger . debug ( this . props . uniqueid ,  ".beforeListViewDataRender" ) ; 
197+         mx . logger . debug ( this . props . uniqueid ,  ".beforeListViewDataRender" ) ; 
198198
199199        dojoAspect . before ( targetListView ,  "_renderData" ,  ( )  =>  { 
200-             logger . debug ( this . props . uniqueid ,  "_renderData.before" ) ; 
200+             mx . logger . debug ( this . props . uniqueid ,  "_renderData.before" ) ; 
201201
202202            const  datasource  =  targetListView . _datasource ; 
203203            if  ( datasource . getSetSize ( )  ===  0 )  { 
@@ -229,7 +229,7 @@ class PaginationContainer extends Component<ModelerProps, PaginationContainerSta
229229                        listSize : datasource . getSetSize ( ) 
230230                    } ) ; 
231231                }  else  { 
232-                     logger . debug ( this . props . uniqueid ,  ".initialLoading False, pagingLoading False" ) ; 
232+                     mx . logger . debug ( this . props . uniqueid ,  ".initialLoading False, pagingLoading False" ) ; 
233233                    const  previousOffset  =  this . state . offset ; 
234234                    const  listSize  =  datasource . getSetSize ( ) ; 
235235                    let  offset  =  previousOffset ; 
@@ -258,7 +258,7 @@ class PaginationContainer extends Component<ModelerProps, PaginationContainerSta
258258    } 
259259
260260    private  afterListViewLoaded ( targetListView : DataSourceHelperListView )  { 
261-         logger . debug ( this . props . uniqueid ,  ".afterListViewLoad" ) ; 
261+         mx . logger . debug ( this . props . uniqueid ,  ".afterListViewLoad" ) ; 
262262        // Initial load of list view, also take in account the previous page state 
263263        const  datasource  =  targetListView . _datasource ; 
264264        const  pageSize  =  this . state . pageSize  ? this . state . pageSize  : datasource . getPageSize ( )  &&  datasource . getPageSize ( )  ||  10 ; 
@@ -271,9 +271,9 @@ class PaginationContainer extends Component<ModelerProps, PaginationContainerSta
271271    } 
272272
273273    private  afterListViewDataRender ( targetListView : DataSourceHelperListView )  { 
274-         logger . debug ( this . props . uniqueid ,  ".afterListViewDataRender" ) ; 
274+         mx . logger . debug ( this . props . uniqueid ,  ".afterListViewDataRender" ) ; 
275275        dojoAspect . after ( targetListView ,  "_renderData" ,  ( )  =>  { 
276-             logger . debug ( this . props . uniqueid ,  "_renderData.after" ) ; 
276+             mx . logger . debug ( this . props . uniqueid ,  "_renderData.after" ) ; 
277277            resetListViewHeight ( targetListView . domNode  as  HTMLElement ) ; 
278278        } ) ; 
279279    } 
0 commit comments