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.
|
* so that all logged errors get reported to this class.
|
||||||
*/
|
*/
|
||||||
export function cleanStack(stack: string, loc?: string) {}
|
export function cleanStack(stack: string, loc?: string) {}
|
||||||
import {ScribeLogger} from './ScribeLogger';
|
import ScribeLogger from './ScribeLogger';
|
||||||
|
|
||||||
export type ObjectError =
|
export type ObjectError =
|
||||||
| Error
|
| Error
|
||||||
|
|||||||
@@ -5,12 +5,12 @@
|
|||||||
* @format
|
* @format
|
||||||
*/
|
*/
|
||||||
|
|
||||||
export type ScribeMessage = {|
|
export type ScribeMessage = {
|
||||||
category: string,
|
category: string;
|
||||||
message: string,
|
message: string;
|
||||||
|};
|
};
|
||||||
|
|
||||||
import type {Logger} from '../fb-interfaces/Logger.js';
|
import {Logger} from '../fb-interfaces/Logger.js';
|
||||||
|
|
||||||
export default class ScribeLogger {
|
export default class ScribeLogger {
|
||||||
constructor(logger: Logger) {}
|
constructor(logger: Logger) {}
|
||||||
Reference in New Issue
Block a user