Skip to content

Commit

Permalink
Update logging docs to indicate that IsLoggingContentEnabled requires…
Browse files Browse the repository at this point in the history
… EventLevel.Verbose (#47391)
  • Loading branch information
christothes authored Dec 3, 2024
1 parent 1309fee commit d5ffdf2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sdk/core/Azure.Core/samples/Diagnostics.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ using AzureEventSourceListener traceListener = AzureEventSourceListener.CreateTr

### Enabling content logging

By default only URI and headers are logged. To enable content logging, set the `Diagnostics.IsLoggingContentEnabled` client option:
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:

```C# Snippet:LoggingContent
SecretClientOptions options = new SecretClientOptions()
Expand Down

0 comments on commit d5ffdf2

Please sign in to comment.