smashraid / NLog.Splunk

Splunk target to send logs in splunk
0 stars 1 forks source link

Avoid creating string-array for every property-key #3

Closed snakefoot closed 6 years ago

snakefoot commented 6 years ago

https://github.com/smashraid/NLog.Splunk/blob/f51a01c4caf31cc08cb52ffd43bfa3bbf6a36b48/NLog.Splunk/NLog.Splunk/SplunkTarget.cs#L56

Instead use string.IndexOf('.') >= 0 to check for dots

smashraid commented 6 years ago

Released v1.0.1