Migrate logger

Summary:
Removed defunct log filtering functionality, but we probably want to rebuild that.
Funny that tsc caught this as non functioning but Flow happily accepted it.

Reviewed By: danielbuechele

Differential Revision: D16690959

fbshipit-source-id: b079dd6faba83ca0c443d00cbb69c8ff95c4fa69
This commit is contained in:
Pascal Hartig
2019-08-09 10:32:36 -07:00
committed by Facebook Github Bot
parent e56d3a4c6d
commit b42abcbb59
9 changed files with 14 additions and 14 deletions

View File

@@ -5,7 +5,7 @@
* @format
*/
import {getInstance as getLogger} from '../fb-stubs/Logger';
import {getInstance as getLogger} from '../fb-stubs/Logger.tsx';
export function reportInteraction(
componentType: string,

View File

@@ -4,8 +4,8 @@
* LICENSE file in the root directory of this source tree.
* @format
*/
import {getInstance as getLogger} from '../fb-stubs/Logger';
import type {Store, MiddlewareAPI} from '../reducers.tsx';
import {getInstance as getLogger} from '../fb-stubs/Logger.tsx';
import type {DeviceExport} from '../devices/BaseDevice.tsx';
import type {State as PluginStates} from '../reducers/pluginStates.tsx';
import type {PluginNotification} from '../reducers/notifications.tsx';

View File

@@ -5,7 +5,7 @@
* @format
*/
import {getInstance} from '../fb-stubs/Logger';
import {getInstance} from '../fb-stubs/Logger.tsx';
export class UnsupportedError extends Error {
constructor(message: string) {