Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface LogPolicyOptions

Package version

Options to configure the logPolicy.

Hierarchy

  • LogPolicyOptions

Index

Properties

Optional additionalAllowedHeaderNames

additionalAllowedHeaderNames: string[]

Header names whose values will be logged when logging is enabled. Defaults include a list of well-known safe headers. Any headers specified in this field will be added to that list. Any other values will be written to logs as "REDACTED".

Optional additionalAllowedQueryParameters

additionalAllowedQueryParameters: string[]

Query string names whose values will be logged when logging is enabled. By default no query string values are logged.

Optional logger

logger: Debugger

The log function to use for writing pipeline logs. Defaults to core-http's built-in logger. Compatible with the debug library.

Generated using TypeDoc