File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed
packages/shared/sdk-client/src Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -106,15 +106,13 @@ export default class LDClientImpl implements LDClient {
106106 this . diagnosticsManager ,
107107 ) ;
108108 this . emitter = new LDEmitter ( ) ;
109- this . emitter . on ( 'change' , ( c : LDContext , changedKeys : string [ ] ) => {
110- this . logger . debug ( `change: context: ${ JSON . stringify ( c ) } , flags: ${ changedKeys } ` ) ;
111- } ) ;
112109 this . emitter . on ( 'error' , ( c : LDContext , err : any ) => {
113110 this . logger . error ( `error: ${ err } , context: ${ JSON . stringify ( c ) } ` ) ;
114111 } ) ;
115112
116113 this . flagManager . on ( ( context , flagKeys ) => {
117114 const ldContext = Context . toLDContext ( context ) ;
115+ this . logger . debug ( `change: context: ${ JSON . stringify ( ldContext ) } , flags: ${ flagKeys } ` ) ;
118116 this . emitter . emit ( 'change' , ldContext , flagKeys ) ;
119117 } ) ;
120118
You can’t perform that action at this time.
0 commit comments