Skip to content

Consider injecting EventId properties as normal message template parameters #540

Closed
@snakefoot

Description

@snakefoot

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).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions