© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•2y ago•
3 replies
Angius

`Microsoft.Extensions.Logging` and Serilog compatible timing library?

I'm currently using https://github.com/nblumhardt/serilog-timings to log how much time a given operation took. It was nice and all when I was using a static logger, but I wanted to switch to an injected
ILogger
ILogger
instance.
Problem is,
SerilogTimings
SerilogTimings
works on a
Serilog.ILogger
Serilog.ILogger
instance, not
MEL.ILogger
MEL.ILogger
which feels kinda smelly to me.
Is there any other library I could use with Serilog and MEL that would let me easily time whatever operations?
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Microsoft.Extensions.Logging.Console
C#CC# / help
2y ago
Microsoft.Extensions.Logging dynamic log level?
C#CC# / help
16mo ago
Using ` Microsoft.Extensions.DependencyInjection` in a library
C#CC# / help
4mo ago
✅ serilog not logging on vm
C#CC# / help
7mo ago