From 08ba2156f96c7062f8ff46801904ec8c2487f3bb Mon Sep 17 00:00:00 2001 From: Ed Ball Date: Mon, 6 Feb 2023 10:26:22 -0800 Subject: [PATCH] Change AdditionalFieldsFactory to return an enumerable. A dictionary can still be used, but this allows callers to return an array of key/value pairs for reduced overhead. --- src/Gelf.Extensions.Logging/GelfLoggerOptions.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Gelf.Extensions.Logging/GelfLoggerOptions.cs b/src/Gelf.Extensions.Logging/GelfLoggerOptions.cs index 2da985d..7eab8e0 100644 --- a/src/Gelf.Extensions.Logging/GelfLoggerOptions.cs +++ b/src/Gelf.Extensions.Logging/GelfLoggerOptions.cs @@ -54,7 +54,7 @@ public class GelfLoggerOptions /// /// Additional fields computed based on raw log data. /// - public Func>? AdditionalFieldsFactory { get; set; } + public Func>>? AdditionalFieldsFactory { get; set; } /// /// Headers used when sending logs via HTTP(S).