Migrate ScribeLogger
Summary: _typescript_ Reviewed By: danielbuechele Differential Revision: D16691033 fbshipit-source-id: 19da8bea4032e33a9bd219476aa12e2154dc3103
This commit is contained in:
committed by
Facebook Github Bot
parent
b42abcbb59
commit
2e1dc7d40d
@@ -11,7 +11,7 @@
|
||||
* so that all logged errors get reported to this class.
|
||||
*/
|
||||
export function cleanStack(stack: string, loc?: string) {}
|
||||
import {ScribeLogger} from './ScribeLogger';
|
||||
import ScribeLogger from './ScribeLogger';
|
||||
|
||||
export type ObjectError =
|
||||
| Error
|
||||
|
||||
@@ -5,12 +5,12 @@
|
||||
* @format
|
||||
*/
|
||||
|
||||
export type ScribeMessage = {|
|
||||
category: string,
|
||||
message: string,
|
||||
|};
|
||||
export type ScribeMessage = {
|
||||
category: string;
|
||||
message: string;
|
||||
};
|
||||
|
||||
import type {Logger} from '../fb-interfaces/Logger.js';
|
||||
import {Logger} from '../fb-interfaces/Logger.js';
|
||||
|
||||
export default class ScribeLogger {
|
||||
constructor(logger: Logger) {}
|
||||
Reference in New Issue
Block a user