Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[RLC] Support loggingOption in rest level client contructor #1331

Closed
qiaozha opened this issue Mar 1, 2022 · 0 comments · Fixed by #1827
Closed

[RLC] Support loggingOption in rest level client contructor #1331

qiaozha opened this issue Mar 1, 2022 · 0 comments · Fixed by #1827

Comments

@qiaozha
Copy link
Member

qiaozha commented Mar 1, 2022

In high level client, we can add logginOptions like

    const internalPipelineOptions: InternalPipelineOptions = {
      ...options,
      loggingOptions: {
        logger: logger.info,
        additionalAllowedHeaderNames: MetricsAdvisorLoggingAllowedHeaderNames,
        additionalAllowedQueryParameters: MetricsAdvisorLoggingAllowedQueryParameters,
      },
    };
    this.client = new GeneratedClient(this.endpointUrl, internalPipelineOptions);

I wonder whether we need to add the support in Rest Level Client

@qiaozha qiaozha added the RLC label Mar 1, 2022
@ArcturusZhang ArcturusZhang changed the title [RLC] Support logginOption in rest level client contructor [RLC] Support loggingOption in rest level client contructor Oct 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants