alefranz / MELT

MELT is a free, open source, testing library for the .NET Standard Microsoft Extensions Logging library. It is a solution to easily test logs.
Apache License 2.0
72 stars 5 forks source link

Serilog integration and UX improvements #8

Closed alefranz closed 4 years ago

alefranz commented 4 years ago

The goal is to provide a better integration for Serilog.

When using Serilog.Extensions.Logging there are no changes required, however when using Serilog.AspNetCore it requires extra step which needs to be documented.

Also the goal is to provide better integration so that Serilog features can be leveraged (e.g. object desctructuring) and handle the differences in string formatting (e.g. arrays)

Also, scopes are handled differently as they are not sent directly to the provider on creation, but managed internally by Serilog and set along the log messages.

This closes #9 and closes #11