Refactor some of the types used by FBLogger into Logger
Summary: ^ This change aims to extract some bits and pieces that are not specific to FBLogger and could be used by other Logger implementations. Reviewed By: passy Differential Revision: D36473286 fbshipit-source-id: 57f02d132673dbac97384da4dca51bf3e6fb8738
This commit is contained in:
committed by
Facebook GitHub Bot
parent
a73f736d92
commit
6d2bc5cc9a
@@ -20,7 +20,7 @@ const instance = {
|
||||
debug: jest.fn(),
|
||||
};
|
||||
|
||||
export function extractError(...data: Array<any>): {
|
||||
export function LoggerExtractError(...data: Array<any>): {
|
||||
message: string;
|
||||
error: Error;
|
||||
} {
|
||||
|
||||
Reference in New Issue
Block a user