News Archives

Ads by Lake Quincy Media
Gibraltar - Learn about the best analysis tool for NLog
Ads by Lake Quincy Media

First preview build of NLog 2.0 is available

Very experimental first build of NLog from 2.0 branch is available for download. It’s not alpha, beta or even gamma, just a preview of upcoming changes for those adventurous enough to try it out. My primary goal for this preview release is making sure there are no unintended breaking changes.

I would greatly appreciate your help in making sure the code which uses NLog 1.x continues to work with NLog 2.0 (in both source and binary-compatibility situations). Please report any issues as comments under this post.

Summary of changes:

  • Entire code base has been ported to C# 3.0, cleaned up and simplified.
  • This release has been compiled against the following frameworks:
    • Silverlight 2.0 and 3.0
    • .NET Framework 2.0
    • .NET Framework 3.5 (client and extended profile)
    • .NET Framework 4.0 Release Candidate (client and extended profile)
    • Mono 2.x
    • .NET Compact Framework 2.0 and 3.5
  • Support for pre-2.0 versions of the .NET Framework and Mono has been removed
  • Logging pipeline and extensibility interface (targets, layout renderers, layouts, filters, etc.) has been completely redesigned for better maintainability
  • Added support for wrapper layout renderers

Please consult breaking change policy for information about expected behavior. I would like to make sure logging APIs and configuration files continue to work without having to modify your code.

Download sources and binaries from http://nlog.codeplex.com/releases/view/41859
Documentation: http://nlog-project.org/doc/2.0/

5 Responses to “First preview build of NLog 2.0 is available”

  1. Tom R says:

    Great news, I’ll give it a try!

  2. Jason DiOrio says:

    I just wanted you to know how particularly difficult it was for me to find an SVN url so I can checkout the source. I use svn:externals whenever possible with OSS libraries and I had a “fun” time trying to track this down. Thanks for the good work though.

  3. Jason DiOrio says:

    Allow me to begin my 3 part apology… You are a wonderful human being…

    but no, seriously, Zombieland aside my apologies, apparently I was blind because I was looking for an NLogViewer download and noticed that the download section also had SVN links. That said, is there no easy way to download NLogViewer in binary form?

    Many Thanks,
    -Jason

  4. Jarek Kowalski says:

    No, unfortunately not at this point. Compiling from source (in SVN) should be relatively straightforward though.

  5. Jason DiOrio says:

    Yeah, I got it all figured out, though I did have to remove and re-add references to the NLog binary for some reason? That’s inconsequential and may just have been the way I checked it out. I’ve compiled the binaries and I don’t imagine they’ll change for some time so I’m up and running. Thanks for responding though, that’s much appreciated. Do you recommend any of the 3rd party viewers? I’ve been looking around and Sentinel looks decent for a free one, Gibraltar looks amazing but I’m curious if it’s worth the money. Either way, thanks much.

    -Jason

Leave a Comment