UNPKG

@htdangkhoa/google-ads

Version:
21 lines (20 loc) 867 B
import { CallProperties, InterceptorOptions, NextCall, InterceptingCall } from '@grpc/grpc-js'; import { LoggingOptions } from './types.js'; export declare class LoggingInterceptor { private requestLogging; private summaryLogger; private detailLogger; private messages; private requester; private interceptorOptions?; private request?; private requestHeaders?; private responseHeaders?; private responseStatus?; constructor(requestLogging: boolean | LoggingOptions); callInvocationTransformer(properties: CallProperties<any, any>, originalCallInvocationTransformer?: (properties: CallProperties<any, any>) => CallProperties<any, any>): CallProperties<any, any>; interceptCall(options: InterceptorOptions, nextCall: NextCall): InterceptingCall; private callback; private logSummary; private logDetail; }