Reduce LockFreeEventDispatcherImpl logspam

Summary: Changelog: [Internal]

Reviewed By: mdvacca

Differential Revision: D31116209

fbshipit-source-id: 90dacad32f20148c5956815cff54e2077b7b83a3
This commit is contained in:
Pieter De Baets
2021-09-22 15:45:40 -07:00
committed by Facebook GitHub Bot
parent 01856633a1
commit 67b62adf4b
@@ -52,7 +52,7 @@ import java.util.concurrent.CopyOnWriteArrayList;
*/
public class LockFreeEventDispatcherImpl implements EventDispatcher, LifecycleEventListener {
private final boolean DEBUG_MODE = true && ReactBuildConfig.DEBUG;
private final boolean DEBUG_MODE = ReactBuildConfig.DEBUG;
private final String TAG = LockFreeEventDispatcherImpl.class.getSimpleName();
private final ReactApplicationContext mReactContext;
@@ -77,7 +77,7 @@ public class LockFreeEventDispatcherImpl implements EventDispatcher, LifecycleEv
Assertions.assertNotNull(mReactEventEmitter);
if (DEBUG_MODE) {
FLog.d(TAG, "dispatchEvent: " + event.toString());
FLog.v(TAG, "dispatchEvent: " + event.toString());
}
for (EventDispatcherListener listener : mListeners) {