LogPropertiesAttribute
LogPropertiesAttribute()
OmitReferenceName
SkipNullProperties
Transitive
net10.0
namespace Microsoft.Extensions.Logging
{
[AttributeUsage(AttributeTargets.Property | AttributeTargets.Parameter)]
public sealed class LogPropertiesAttribute : Attribute
{
public bool OmitReferenceName { get; set; }
}
}
| .NET | 8.09.010.0 |
|---|---|
| .NET Framework | 4.6.24.74.7.14.7.24.84.8.1 |
Information specific to net10.0 | |
| Assemblies | Microsoft.Extensions.Telemetry.Abstractions , Version=10.1.0.0, PublicKeyToken=31bf3856ad364e35 Microsoft.Extensions.Telemetry.Abstractions , Version=10.3.0.0, PublicKeyToken=31bf3856ad364e35 |
| Referencing | Your project needs a package reference to |
| Package | Microsoft.Extensions.Telemetry.Abstractions (10.1.0) net10.0 |
| Platform Restrictions | The property getter is supported on all platforms. The property setter is supported on all platforms. |
- Built-in API
- Package-provided API