UNPKG

589 BTypeScriptView Raw
1import { HttpOperationResponse } from "../httpOperationResponse";
2import { WebResourceLike } from "../webResource";
3import { BaseRequestPolicy, RequestPolicy, RequestPolicyFactory, RequestPolicyOptionsLike } from "./requestPolicy";
4export declare function logPolicy(logger?: any): RequestPolicyFactory;
5export declare class LogPolicy extends BaseRequestPolicy {
6 logger?: any;
7 constructor(nextPolicy: RequestPolicy, options: RequestPolicyOptionsLike, logger?: any);
8 sendRequest(request: WebResourceLike): Promise<HttpOperationResponse>;
9}
10//# sourceMappingURL=logPolicy.d.ts.map
\No newline at end of file