-
Notifications
You must be signed in to change notification settings - Fork 830
2.11.0 Release #1614
New issue
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
2.11.0 Release #1614
Conversation
* make some local functions static to avoid scope capture * make some local functions static
"...event when..." -> "...even when..."
* add nullable for ilogger and implementations * narrow down nullables * make ILogEventEnricher not null
* make tests nullable * Update MessageTemplateTextFormatterTests.cs * Update MessageTemplateTextFormatterTests.cs * remove some } = null!; * Update LogContextTests.cs * missing log events * Update DelegatingSink.cs
…tidy accordingly (#1596)
* fixed exception * added unit test and using comma as seperator * added empty array return * removed internal * added support for int[] support * support any collection type * Remove unnecessary newline Co-authored-by: Tomasz Stochmal <tomasz.stochmal@iress.com> Co-authored-by: Nicholas Blumhardt <nblumhardt@nblumhardt.com>
* Update PropertyBinder.cs * Update LoggerConfiguration.cs * Update AggregateSink.cs * Update ConditionalSink.cs * Update DisposeDelegatingSink.cs * Update DisposingAggregateSink.cs * Update FilteringSink.cs * Update RestrictedSink.cs * Update SafeAggregateSink.cs * Update SecondaryLoggerSink.cs * Update LoggingLevelSwitch.cs * Update PropertiesOutputFormat.cs * Update JsonFormatter.cs * Update JsonValueFormatterTests.cs * Update Log.cs
…ings with array values)
…erter.GetProperties()
The example in the documentation was using a wrong name for the attribute. Corrected the usage in the example
- Update ILogger examples XML documentation to use `<code>` - Fix an errant `>`
This reverts commit 5de7002.
If you're able to try out |
works on my machine |
src/Serilog/ILogger.cs
Outdated
/// MessageTemplate template; | ||
/// IEnumerable<LogEventProperty> properties; | ||
/// IEnumerable<LogEventProperty> properties>; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this line does not look right (have not checked rest in detail)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
static
to avoid scope capture (@SimonCropp)string[]
to key-value settings #1561 - add support for collections/string[]
to key-value settings (@stochmal)net5.0
target (@nblumhardt)MessageTemplateFormatMethod
(@JinsPeter)Memory<T>
/ReadOnlyMemory<T>
and non-reflection-compatible properties e.g. of typeSpan<T>
(@skomis-mm)ILogger
documentation (@erichiller)