NLog.Extensions.Logging
NLog.Extensions.Logging copied to clipboard
Consider injecting EventId properties as normal message template parameters
When receiving LogEvent that both contains message-template-parameters and EventId, then NLog will allocate both a message-template-parameter-array and also message-properties-dictionary (for eventid).
Maybe consider injecting EventId into the list of message-template-parameter, when message-template has been parsed as being "simple" (Not positional-placeholders and Not message-template-syntax and Not ParseMessageTemplates-option enabled).