Skip to content
This repository has been archived by the owner on Jun 1, 2024. It is now read-only.

ExceptionAsObjectJsonFormatter add renderMessageTemplate param #304

Merged
merged 2 commits into from
Jan 21, 2020
Merged

ExceptionAsObjectJsonFormatter add renderMessageTemplate param #304

merged 2 commits into from
Jan 21, 2020

Conversation

deathgore
Copy link
Contributor

@deathgore deathgore commented Dec 16, 2019

Missing parameter for the ExceptionAsObjectJsonFormatter.
Don't want to render MessageTemplate.

@@ -42,15 +42,18 @@ public class ExceptionAsObjectJsonFormatter : ElasticsearchJsonFormatter
/// <param name="formatProvider">Supplies culture-specific formatting information, or null.</param>
/// <param name="serializer">Inject a serializer to force objects to be serialized over being ToString()</param>
/// <param name="inlineFields">When set to true values will be written at the root of the json document</param>
/// /// <param name="renderMessageTemplate">If true, the message template will be rendered and written to the output as a
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is the double set of slashes /// /// deliberate?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No copied from base object, will remove it.

@mivano
Copy link
Contributor

mivano commented Jan 21, 2020

Thanks for the PR

@mivano mivano merged commit 91748ad into serilog-contrib:dev Jan 21, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants