| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Vote or submit ideas on UserEcho!
NLog is a free logging platform for .NET with rich log routing and management capabilities. It makes it easy to produce and manage high-quality logs for your application regardless of its size or complexity.
It can process diagnostic messages emitted from any .NET language, augment them with contextual information, format them according to your preference and send them to one or more targets such as file or database.
For more information, see the website nlog-project.org or just get started with the tutorials on the NLog wiki.
Project news - including RSS feed
NLog consists of multiple packages. Most of the functionality is inside the NLog (core) package. What's inside the packages? See targets and layout renderers overview!
Package | Build status | NuGet |
-------- | :------------ | :------------ | :------------------
NLog (Windows / Silverlight 4+5) | |
|
NLog (Xamarin iOS / Xamarin Android / Windows Phone 8) |
|
|
NLog (CoreCLR / UWP) |
|
|
NLog (ASP.NET 5) |
|
|
NLog (Mono) |
| |
NLog.Config |
|
|
NLog.Contrib.ActiveMQ |
|
|
NLog.Extended |
|
|
NLog.Elmah |
|
|
NLog.Etw |
|
|
NLog.InstallNLogConfig |
|
|
NLog.ManualFlush |
|
|
NLog.Schema |
|
|
NLog.Web |
|
|
NLog.Windows.Forms |
|
|
Do you have feature requests, questions or would you like to report a bug? Please post them on the issue list and follow these guidelines. Please also post or vote features requests on UserEcho.
Why should I use a log libary? I can just do file.WriteLine()
Why should I use NLog?
Is it free?
Show me the magic!
I can't see anything?!
I'm missing important stuff!
How do I upgrade to NLog 4.x?
I have trouble updating NLog from 4.1.0
Could not load file or assembly 'NLog' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
If you upgrade, remove or alter the <assemblybinding>, as explained at the 4.1.1 news post.
Should I use Common Logging?
That's up to you. It has it pros and cons. The greatest advantage is that you can easily switch between logging implementations (NLog, Log4Net, EntLib). This can be very important if you’re writing a library yourself, then the user who's using your library can choose which implementation to use.
There are some downsides:
Which Common Logging version should I use?
I'm writing a library who's using NLog. Should I update when NLog has an update?
As the current NLog team is a small team, we cannot fix every bug or implement every feature on our own. So contributions are really appreciated!
If you like to start with a small task, then up-for-grabs are nice to start with.
A good way to get started (flow)
NLog is open source software, licensed under the terms of BSD license. See LICENSE.txt for details.
Use Visual studio 2012/2013/2015 and open solution file in the 'src' folder, like 'NLog.netfx45.sln'
For building in the cloud we use:
Steps to set up AppVeyor/Travis/CodeCov for your own fork.
AppVeyor:
Travis:
CodeCov: (AppVeyor needed)
| Back | FazBrowse Home | New Git URL |