Introducing
The Slant team built an AI & it’s awesome
Find the best product instantly
Add to Chrome
Add to Edge
Add to Firefox
Add to Opera
Add to Brave
Add to Safari
Try it now
4.7 star rating
0
PC
Development
Utilities
.Net
Log
What are the best .NET logging frameworks?
8
Options
Considered
208
User
Recs.
Jan 19, 2024
Last
Updated
Related Questions
Activity
Have feedback or ideas?
Join our community
on Discord
Ad
8
Options
Considered
Best .NET logging frameworks
Price
Languages
Hosting options
89
NLog
Free
-
-
79
Serilog
Free
-
-
67
log4net
Free
-
-
--
Lightrun
Paid
-
-
--
ELMAH
Free
-
-
See Full List
89
NLog
My Rec
ommendation
for
NLog
My Recommendation for
NLog
All
4
Experiences
1
Pros
3
Top
Pro
•••
Easily configurable
The config file is fairly easy to understand and modify without having to pore over pages and pages of documentation.
See More
Suyash Gupta's Experience
Not able to configure it for Xamarin Platform. No documentation or working sample available online.
See More
Top
Pro
•••
Easy to set up
Getting starting with NLog is quick and you can be up and running in a matter of minutes by following the official Getting Started tutorial.
See More
Top
Pro
•••
Supports Semantic Logging
See More
Hide
See All
Free
Recommend
94
10
79
Serilog
My Rec
ommendation
for
Serilog
My Recommendation for
Serilog
All
8
Experiences
2
Pros
5
Cons
1
Top
Pro
•••
Can log structured data
See More
Top
Con
•••
Documentation is distributed among plugins
Determining what logger, formatter, option is more difficult because documentation is associated with each component.
See More
Suyash Gupta's Experience
Great framework with awesome documentation
See More
Top
Pro
•••
Flexible configuration options
Configuring directly or using appsettings is fairly and there are many examples available.
See More
ResponsibleMorta's Experience
Does what is says on the tin
See More
Top
Pro
•••
Multiple extensions
You can easily configure it to log into Console / File / Seq / ElasticSearch / etc.
See More
Top
Pro
•••
Log Enricher and Log Context features
Easily and extensibly enrich your log messages with contextual information such as thread or request ID.
See More
Top
Pro
•••
Is portable between recent .NET platforms
See More
Hide
See All
Free
Recommend
61
1
67
log4net
My Rec
ommendation
for
log4net
My Recommendation for
log4net
All
6
Pros
4
Cons
2
Top
Pro
•••
Widely Used
Using log4net is a safe bet - many other open-source projects use it as well and it'll be just another dependency you don't have to worry about. This also means finding support to fix bugs is a lot easier!
See More
Top
Con
•••
Dealing with errors can be a pain
Because of the poor documentation and difficulty of configuration you might end up spending a lot of time just trying to fix things that aren't working.
See More
Top
Pro
•••
Robust
Has all the features you'll most likely need, and is quite configurable. Basically what you'd expect from a very popular and widely-used framework.
See More
Top
Con
•••
Confusing Documentation
Documentation is quite difficult to navigate through unless you know exactly what you're looking for.
See More
Top
Pro
•••
Supports Multiple Frameworks
See More
Top
Pro
•••
Modular and Extendable
Has plugins for most of the things you'll need to get done without having to deal with too much unnecessary functionality.
See More
Hide
See All
Free
Recommend
26
9
--
Lightrun
My Rec
ommendation
for
Lightrun
My Recommendation for
Lightrun
Hide
Paid
Recommend
1
--
ELMAH
My Rec
ommendation
for
ELMAH
My Recommendation for
ELMAH
All
3
Pros
1
Cons
2
Top
Pro
•••
Pluggable
See More
Top
Con
•••
No recent updates
The last commit on GitHub dates from 2018.
See More
Top
Con
•••
No .NET Core support
See More
Hide
See All
Free
Recommend
1
--
JSNLog
My Rec
ommendation
for
JSNLog
My Recommendation for
JSNLog
All
8
Experiences
1
Pros
4
Cons
2
Specs
Top
Pro
•••
No dependencies
No dependencies on other JavaScript libraries
See More
Top
Con
•••
No reporting capabilities
Your server logging solution should provide that, and JSNlog integrates with Elmah, Log4Net, NLog, Serilog, Common.Logging.
See More
RickZeeland's Experience
Open source JavaScript logging package that logs JavaScript errors, AJAX timeouts and other client side events in your server side log. Supports Elmah, Log4Net, NLog, Serilog, Common.Logging.
See More
Specs
Languages:
.NET, JS, PHP, Node
Hosting options:
No
Top
Pro
•••
Free
See More
Top
Con
•••
No hosted option
You'll have to store client-side logs along with your server-side logs.
See More
Top
Pro
•••
Stack traces
JSNLog passes exception log messages with its stack trace.
See More
Top
Pro
•••
Integrates with your existing server-side logging package
Not a hosted option, so you'll store client-side logs along with your server-side logs.
See More
Hide
See All
Free
Recommend
1
--
BitFactory
My Rec
ommendation
for
BitFactory
My Recommendation for
BitFactory
All
4
Experiences
1
Pros
3
Top
Pro
•••
Lightweight and Solid
Less complexity means fewer points of failure, and better performance.
See More
ThriftyAoGuang's Experience
Not available
See More
Top
Pro
•••
Stupid Simple to Use
See More
Top
Pro
•••
Bloat-Free
Out of the box it's only 100K - it contains the essentials for a logging framework and leaves it at that.
See More
Hide
See All
Get it
here
Recommend
2
1
--
Retrace
My Rec
ommendation
for
Retrace
My Recommendation for
Retrace
Hide
$99 p/month
Recommend
1
Don't see your favorite option? Add it.
Built By the Slant team
Find the best product instantly.
4.7 star rating
Add to Chrome
Add to Edge
Add to Firefox
Add to Opera
Add to Brave
Add to Safari
Try it now - it's free
One sec!
Are you sure that you want to abandon your hard work?
Delete Work
Continue working
{}
undefined
url next
price drop