You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to use custom names for my properties however that attribute is not working. For reference my log generator is as follows:
[LoggerMessage( EventId =0, Message ="Have recorded metric")]publicstaticpartialvoidRecordMetric(
#pragma warning disable EXTEXP0003 // Type is for evaluation purposes only and is subject to change or removal in future updates. Suppress this diagnostic to proceed.thisILoggerlogger,LogLevellogLevel,[LogProperties(SkipNullProperties =true)][TagName("test")]MetricDefmetric,[LogProperties(SkipNullProperties =true)]MetricDescriptorDefdescriptor,[LogProperties(SkipNullProperties =true)]EventDef@event);
#pragma warning restore EXTEXP0003 // Type is for evaluation purposes only and is subject to change or removal in future updates. Suppress this diagnostic to proceed.
The code compiles but the property doesn't change name. to reflect.
Let me know if this needs to become a feature request.
The text was updated successfully, but these errors were encountered:
I am trying to use custom names for my properties however that attribute is not working. For reference my log generator is as follows:
The code compiles but the property doesn't change name. to reflect.
Let me know if this needs to become a feature request.
The text was updated successfully, but these errors were encountered: