Repository navigation
Property factory as AddPropertyIfAbsent parameter - #2149
Conversation
|
As I can see from codebase |
@sungam3r yes, correct, |
|
When workflow run you'll see one failed test. Run api approval test locally. |
aee2ec1 to
304d744
Compare
Ok. Fixed, thanks! |
In this PR I propose to set public this internal method overload:
The goal is allow to write optimised
ILogEventEnricherclasses and also to be able to useILogEventPropertyFactoryto create properties.In therm of performance this solution would be almost the same as the code suggested in #739 where properties are created only once, but with the benefit of using the property factory as intended by the
ILogEventEnricherinterface.Example: