mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Reduce LockFreeEventDispatcherImpl logspam
Summary: Changelog: [Internal] Reviewed By: mdvacca Differential Revision: D31116209 fbshipit-source-id: 90dacad32f20148c5956815cff54e2077b7b83a3
This commit is contained in:
committed by
Facebook GitHub Bot
parent
01856633a1
commit
67b62adf4b
+2
-2
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user