UNPKG

cabbie-sync

Version:
24 lines (23 loc) 641 B
import { Options } from './flow-types/options'; export declare type CallEvent = { obj: any; name: string; args: Array<any>; duration: number; success: boolean; result: any; err: any; }; declare class Debug { indentation: number; options: Options; constructor(options: Options); _getIndentation(add: number): string; onRequest(req: any): void; onResponse(res: any): void; onCall(event: CallEvent): number; } export declare function startBufferingLogs(): void; export declare function discardBufferedLogs(): void; export declare function printBufferedLogs(): void; export default Debug;