Skip to content

Commit d5ffdf2

Browse files
authored
Update logging docs to indicate that IsLoggingContentEnabled requires EventLevel.Verbose (Azure#47391)
1 parent 1309fee commit d5ffdf2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sdk/core/Azure.Core/samples/Diagnostics.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ using AzureEventSourceListener traceListener = AzureEventSourceListener.CreateTr
4141

4242
### Enabling content logging
4343

44-
By default only URI and headers are logged. To enable content logging, set the `Diagnostics.IsLoggingContentEnabled` client option:
44+
By default only URI and headers are logged. To enable content logging, set the logging level to `EventLevel.Verbose` and set the `Diagnostics.IsLoggingContentEnabled` client option:
4545

4646
```C# Snippet:LoggingContent
4747
SecretClientOptions options = new SecretClientOptions()

0 commit comments

Comments
 (0)