nblumhardt / serilog-timings

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

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

Closed IliyanAng closed 10 months ago

IliyanAng commented 1 year 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 10 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!