Skip to content

Commit 1778c3e

Browse files
authored
Remove spurious trailing quote from MessageTemplate property
1 parent d6a5d9b commit 1778c3e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Serilog.Sinks.Splunk/Sinks/Splunk/SplunkJsonFormatter.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ public void Format(LogEvent logEvent, TextWriter output)
6767

6868
if (_renderMessage)
6969
{
70-
output.Write("\",\"RenderedMessage\":");
70+
output.Write(",\"RenderedMessage\":");
7171
JsonValueFormatter.WriteQuotedJsonString(logEvent.RenderMessage(_formatProvider), output);
7272
}
7373

0 commit comments

Comments
 (0)