We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Since it is not possible to serialize directly into the StringBuilder, then you can simplify this method:
protected override void RenderFormattedMessage(LogEventInfo logEventInfo, StringBuilder target) { // blah blah var output = ecsEvent.Serialize(); target.Append(output); }
Into this:
protected override string GetFormattedMessage(LogEventInfo logEvent) { // blah blah var output = ecsEvent.Serialize(); return output; }
And remove the existing GetFormattedMessage
GetFormattedMessage
The text was updated successfully, but these errors were encountered:
@codebrain I think this issue should be closed. I'm creating a PR that will make better use of the StringBuilder. See also #75
Sorry, something went wrong.
Thanks @snakefoot, closing this.
No branches or pull requests
Since it is not possible to serialize directly into the StringBuilder, then you can simplify this method:
Into this:
And remove the existing
GetFormattedMessage
The text was updated successfully, but these errors were encountered: