Skip to content

fabien-chevalley/NLog

 
 

Repository files navigation

NLog

NuGet Semantic Versioning Twitter Follow Rager Releases StackOverflow license

codecov.io

Docs are on the wiki

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.

Major releases will be posted on project news. For smaller updates, follow us on Twitter

Getting started

More detailed tutorial can be found here.

For the possible options in the config, check the Target list and the layout renderer list

Having troubles? Check the troubleshooting guide

Packages & Status

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 AppVeyor NuGet
NLog (.NET standard 1.x) - coreCLR branch AppVeyor NuGet Pre Release
NLog (Microsoft Logging Platform) Build status NuGet Pre Release
NLog (Mono, .NET standard 2) Build Status
NLog.Config AppVeyor NuGet package
NLog.Contrib.ActiveMQ AppVeyor NuGet package
NLog.Extended AppVeyor NuGet package
NLog.Elmah AppVeyor NuGet package
NLog.Etw AppVeyor NuGet package
NLog.InstallNLogConfig AppVeyor NuGet package
NLog.ManualFlush AppVeyor NuGet package
NLog.Schema AppVeyor NuGet package
NLog.Web AppVeyor NuGet package
NLog.Web for ASP.NET Core AppVeyor NuGet package
NLog.Windows.Forms AppVeyor NuGet package
NLog.Owin.Logging AppVeyor NuGet package

Questions, bug reports or feature requests?

Do you have feature request or would you like to report a bug? Please post them on the issue list and follow these guidelines. Please post questions on StackOverflow.

Frequently Asked Questions (FAQ)

See FAQ on the Wiki

Contributing

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)

  1. Fork the NLog repos.
  2. Create a new branch in you current repos from the 'master' branch.
  3. 'Check out' the code with Git or GitHub Desktop
  4. Check contributing.md
  5. push commits and create a Pull Request (PR) to NLog

License

NLog is open source software, licensed under the terms of BSD license. See LICENSE.txt for details.

How to build

Use Visual Studio 2015 and open solution file in the 'src' folder, like 'NLog.netfx45.sln' - C# 6.0 support is required.

For building in the cloud we use:

  • AppVeyor for Windows builds, including Silverlight and Xamarin.
  • Travis for Mono builds.
  • CodeCov for code coverage

Trying to build your fork in the could? Check this how-to

About

NLog - Advanced .NET, NETSTANDARD, Silverlight and Xamarin Logging

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 99.9%
  • Other 0.1%