Skip to content

Commit 7fafca7

Browse files
mariam-abdullaYoussef1313
authored andcommitted
Update MTP option names (dotnet#50905)
* Update MTP option names * Update other file * Update other files * Update docs/core/testing/microsoft-testing-platform-intro.md Co-authored-by: Youssef Victor <[email protected]> --------- Co-authored-by: Youssef Victor <[email protected]>
1 parent 6d9f820 commit 7fafca7

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

docs/core/testing/microsoft-testing-platform-architecture-services.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -179,9 +179,9 @@ The options you can choose from include:
179179

180180
```dotnetcli
181181
--diagnostic Enable the diagnostic logging. The default log level is 'Trace'. The file will be written in the output directory with the name log_[MMddHHssfff].diag
182-
--diagnostic-filelogger-synchronouswrite Force the built-in file logger to write the log synchronously. Useful for scenario where you don't want to lose any log (i.e. in case of crash). Note that this is slowing down the test execution.
182+
--diagnostic-synchronous-write Force the built-in file logger to write the log synchronously. Useful for scenario where you don't want to lose any log (i.e. in case of crash). Note that this is slowing down the test execution.
183183
--diagnostic-output-directory Output directory of the diagnostic logging, if not specified the file will be generated inside the default 'TestResults' directory.
184-
--diagnostic-output-fileprefix Prefix for the log file name that will replace '[log]_.'
184+
--diagnostic-file-prefix Prefix for the log file name that will replace '[log]_.'
185185
--diagnostic-verbosity Define the level of the verbosity for the --diagnostic. The available values are 'Trace', 'Debug', 'Information', 'Warning', 'Error', and 'Critical'
186186
```
187187

docs/core/testing/microsoft-testing-platform-extensions-diagnostics.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ The following [platform options](./microsoft-testing-platform-intro.md#options)
1616

1717
- `--info`
1818
- `--diagnostic`
19-
- `⁠-⁠-⁠diagnostic-⁠filelogger-⁠synchronouswrite`
19+
- `--diagnostic-synchronous-write`
2020
- `--diagnostic-verbosity`
21-
- `--diagnostic-output-fileprefix`
21+
- `--diagnostic-file-prefix`
2222
- `--diagnostic-output-directory`
2323

2424
You can also enable the diagnostics logs using the environment variables:

docs/core/testing/microsoft-testing-platform-intro.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -246,17 +246,17 @@ The list below described only the platform options. To see the specific options
246246

247247
Enables the diagnostic logging. The default log level is `Trace`. The file is written in the output directory with the following name format, `log_[MMddHHssfff].diag`.
248248

249-
- **`--diagnostic-filelogger-synchronouswrite`**
249+
- **`--diagnostic-synchronous-write`**
250250

251251
Forces the built-in file logger to synchronously write logs. Useful for scenarios where you don't want to lose any log entries (if the process crashes). This does slow down the test execution.
252252

253253
- **`--diagnostic-output-directory`**
254254

255255
The output directory of the diagnostic logging, if not specified the file is generated in the default _TestResults_ directory.
256256

257-
- **`--diagnostic-output-fileprefix`**
257+
- **`--diagnostic-file-prefix`**
258258

259-
The prefix for the log file name. Defaults to `"log_"`.
259+
The prefix for the log file name. Defaults to `"log"`.
260260

261261
- **`--diagnostic-verbosity`**
262262

0 commit comments

Comments
 (0)