nblumhardt / serilog-timings

Extends Serilog with support for timed operations
Apache License 2.0
218 stars 21 forks source link

Add the option to specify the log event level on complete #59

Closed IliyanAng closed 6 months ago

IliyanAng commented 9 months ago

There are use cases, where the complete operation needs to have different log levels depending on business logic. With this PR we are addressing this

nblumhardt commented 6 months ago

I'm happy merging this as-is, I don't think there's a single right precedence to apply here so going with your suggestion.

This will be the last feature PR merged to SerilogTimings, I'm shifting my focus to https://github.com/serilog-tracing/serilog-tracing but will still keep this package maintained.

Thanks very much for the PR!