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
Subject
IBatchTextFormatter
EmailSinkOptions has a property Subject of type ITextFormatter.
EmailSinkOptions
ITextFormatter
IBatchTextFormatter specifies in its summary xdoc:
Pass an instance for the argument when configuring the sink.
I implemented a class SerilogEmailSubject implementing IBatchTextFormatter and set Subject to an instance of it.
SerilogEmailSubject
I now expect the email subject to make use of the FormatBatch method instead of Format.
FormatBatch
Format
But an email with 8 log messages seems to use Format with presumably the last log event.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
EmailSinkOptions
has a propertySubject
of typeITextFormatter
.IBatchTextFormatter
specifies in its summary xdoc:I implemented a class
SerilogEmailSubject
implementingIBatchTextFormatter
and setSubject
to an instance of it.I now expect the email subject to make use of the
FormatBatch
method instead ofFormat
.But an email with 8 log messages seems to use
Format
with presumably the last log event.The text was updated successfully, but these errors were encountered: