Open
Description
I'm trying to use the Info level for the trace, but it is giving me an error. The Information switch works fine. The confirg I'm using is like this:
<switches>
<add name="System.Net" value="Information" />
<add name="System.Net.Sockets" value="Verbose" />
</switches>
Using the number levels, like this:
<switches>
<add name="System.Net" value="4" />
<add name="System.Net.Sockets" value="4" />
</switches>
Doesn't show any error, but don't generate any log, so only the named values should be used.
I'm using .NET version 4.6.1
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
- ID: 112adde4-f654-27e5-cb41-2e3b6e17cd1c
- Version Independent ID: 27958530-fb7d-66c7-2e5f-d68c8a9d8c14
- Content: TraceLevel Enum (System.Diagnostics)
- Content Source: xml/System.Diagnostics/TraceLevel.xml
- Product: dotnet-api
- GitHub Login: @mairaw
- Microsoft Alias: mairaw