Here’s the Deal
Slant is powered by a community that helps you make informed decisions. Tell us what you’re passionate about to get your personalized feed and help others.
When comparing ELMAH vs Serilog, the Slant community recommends Serilog for most people. In the question“What are the best .NET logging frameworks?” Serilog is ranked 2nd while ELMAH is ranked 5th.
Ranked in these QuestionsQuestion Ranking
Common Questions
Pros
Pro Pluggable
Pro Can log structured data
Pro Flexible configuration options
Configuring directly or using appsettings is fairly and there are many examples available.
Pro Multiple extensions
You can easily configure it to log into Console / File / Seq / ElasticSearch / etc.
Pro Log Enricher and Log Context features
Easily and extensibly enrich your log messages with contextual information such as thread or request ID.
Pro Is portable between recent .NET platforms
Cons
Con No recent updates
The last commit on GitHub dates from 2018.
Con No .NET Core support
Con Documentation is distributed among plugins
Determining what logger, formatter, option is more difficult because documentation is associated with each component.