This document defines types for logging events from React DevTools and functions for registering log functions and logging events. It includes types for different event types and functions for conditionally logging events based on a feature flag.
Download as TXT, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
26 views
Logger
This document defines types for logging events from React DevTools and functions for registering log functions and logging events. It includes types for different event types and functions for conditionally logging events based on a feature flag.
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 2
/**
* Copyright (c) Meta Platforms, Inc. and affiliates.
* * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * * @flow strict-local */
import {enableLogger} from 'react-devtools-feature-flags';