fix incorrect references to configuration parameter names (#1319)
The description of the `enableDebug` setting suggests using` consoleLoggingLevel` or `telemetryLoggingLevelen` instead of `enableDebug` for certain cases, apparently these last parameters do not exist and refer to `loggingLevelConsole` and `loggingLevelTelemetry` respectively (they exist).
This commit is contained in:
Родитель
0758382a96
Коммит
b1dac87de6
|
@ -237,7 +237,7 @@ Most configuration fields are named such that they can be defaulted to falsey. A
|
|||
| maxBatchInterval | 15000 | How long to batch telemetry for before sending (milliseconds) |
|
||||
| disableExceptionTracking | false | If true, exceptions are not autocollected. Default is false. |
|
||||
| disableTelemetry | false | If true, telemetry is not collected or sent. Default is false. |
|
||||
| enableDebug | false | If true, **internal** debugging data is thrown as an exception **instead** of being logged, regardless of SDK logging settings. Default is false. <br>***Note:*** Enabling this setting will result in dropped telemetry whenever an internal error occurs. This can be useful for quickly identifying issues with your configuration or usage of the SDK. If you do not want to lose telemetry while debugging, consider using `consoleLoggingLevel` or `telemetryLoggingLevel` instead of `enableDebug`. |
|
||||
| enableDebug | false | If true, **internal** debugging data is thrown as an exception **instead** of being logged, regardless of SDK logging settings. Default is false. <br>***Note:*** Enabling this setting will result in dropped telemetry whenever an internal error occurs. This can be useful for quickly identifying issues with your configuration or usage of the SDK. If you do not want to lose telemetry while debugging, consider using `loggingLevelConsole` or `loggingLevelTelemetry` instead of `enableDebug`. |
|
||||
| loggingLevelConsole | 0 | Logs **internal** Application Insights errors to console. <br>0: off, <br>1: Critical errors only, <br>2: Everything (errors & warnings) |
|
||||
| loggingLevelTelemetry | 1 | Sends **internal** Application Insights errors as telemetry. <br>0: off, <br>1: Critical errors only, <br>2: Everything (errors & warnings) |
|
||||
| diagnosticLogInterval | 10000 | (internal) Polling interval (in ms) for internal logging queue |
|
||||
|
|
Загрузка…
Ссылка в новой задаче