NLog 4.3.0

NLog is a logging platform for .NET with rich log routing and management capabilities. It can help you produce and manage high-quality logs for your application regardless of its size or complexity. This package installs NLog.dll with includes core logging functionality. For your main project also need to install "NLog Configuration" package.

Showing the top 20 packages that depend on NLog.

Packages Downloads
Castle.Core
Core of the castle project
19

KNOWN ISSUE: ${var:myvar} won't work well with the Filetarget in 4.3.0. Will be fixed in 4.3.1. See https://github.com/NLog/NLog/issues/1381 WARNING: if throwExceptions is set to true, it's likely you will see more exceptions then before. Advise: don't set throwExceptions to true in production environments. See also news post. News post: http://nlog-project.org/2016/04/16/nlog-4-3-has-been-released.html # Features - Support Windows Phone 8, Xamarin Android and Xamarin iOS (beta) - Consistent handling of exceptions (BEHAVIOUR CHANGE) - Control of exception throwing for configuration errors - API improvements - Relative paths for fileTarget - InternalLogger: write to System.Diagnostics.Trace - Mail Target: Allow virtual paths for SMTP pickup - EventTarget: option to set the max length of the message and action (discard, split, truncate) - MethodCallTarget: allow optional parameters in called methods. - ConsoleTarget: Regex cache is instead of compiled regex, for better memory usage. This is configurable. - Database target: don't require "ProviderName" attribute when using `<connectionStrings>` - RegistryLayout: Support for layouts, RegistryView (32, 64 bit) and all root key names (HKCU/HKLM etc) - Allow to free CallContext in `MappedDiagnosticsLogicalContext` - LogFactory: Add generic-type versions of `GetLogger()` and `GetCurrentClassLogger()` - Added `Logger.Swallow(Task task)` - Unused targets will be logged to the internal logger - Config classes are now thread-safe. - InternalLogger: improved logging of exceptions (analogous to normal Logger) - More logging to the internal logger (e.g. Async wrapper and buffer wrapper) - Added timestamp options for the internal logger. - Autoload NLog.config in assets folder on Android # Bug fixes Among others: - `${callsite}` works now for async methods! - A **lot of** Filetarget bug fixes regarding with archiving, locking and concurrent writing. Most noticeable: - Use last-write-time for archive file name. This is far more stable. In the past there were some issues with unexpected archive filenames. - Fix: archiving won't work when a there is a date in the filename - Fix: archiving not working properly with AsyncWrapper - Fix: Footer for archiving - Fix: Crashes with relative path without `${basedir}` - Fix: Archive files are never created when there are lot of write in log file - NetworkTarget: fix possible deadlock - Fix autoreload nlog.config with parent configs. - WebServiceTarget: Fix HTTP GET protocol - Bugfix: Internallogger creates folder, even when turned off - Fix possible Nullref in `${variable}` - `${processtime}`: incorrect milliseconds formatting - `${processtime}`: fix incorrect negative time (rounding issue) - FileTarget: Fix writing log files to root dir - Check for TimeToSleepBetweenBatches in AsyncWrapper

This package has no dependencies.

Version Downloads Last updated
5.3.2 1 05/02/2024
5.3.1 2 05/02/2024
5.2.8 7 02/10/2024
5.2.7 4 12/02/2023
5.2.6 3 11/20/2023
5.2.5 4 10/21/2023
5.2.4 7 09/08/2023
5.2.3 19 09/09/2023
5.2.2 5 07/12/2023
5.2.1 8 09/09/2023
5.2.0 10 06/21/2023
5.1.5 8 06/21/2023
5.1.4 3 06/07/2023
5.1.3 19 05/28/2023
5.1.2 10 06/21/2023
5.1.1 3 06/21/2023
5.1.0 24 05/28/2023
5.0.5 17 06/05/2023
5.0.4 12 09/08/2022
5.0.3 8 09/09/2022
5.0.2 16 09/10/2022
5.0.1 11 09/09/2022
5.0.0 14 09/09/2022
4.7.15 14 09/10/2022
4.7.14 12 09/08/2022
4.7.13 10 09/08/2022
4.7.12 9 09/10/2022
4.7.11 10 09/08/2022
4.7.10 15 09/14/2022
4.7.9 14 09/09/2022
4.7.8 22 09/09/2022
4.7.7 28 09/09/2022
4.7.6 10 09/08/2022
4.7.5 15 09/11/2022
4.7.4 19 09/10/2022
4.7.3 11 09/08/2022
4.7.2 21 09/08/2022
4.7.1 15 09/09/2022
4.7.0 14 09/09/2022
4.6.8 17 09/09/2022
4.6.7 10 09/10/2022
4.6.6 8 09/08/2022
4.6.5 10 09/08/2022
4.6.4 21 09/09/2022
4.6.3 33 09/08/2022
4.6.2 11 09/09/2022
4.6.1 14 09/11/2022
4.6.0 11 09/10/2022
4.5.11 9 09/09/2022
4.5.10 8 09/11/2022
4.5.9 26 09/09/2022
4.5.8 12 09/11/2022
4.5.7 11 09/09/2022
4.5.6 13 09/07/2022
4.5.5 10 09/08/2022
4.5.4 14 09/10/2022
4.5.3 20 09/09/2022
4.5.2 12 09/10/2022
4.5.1 8 09/10/2022
4.5.0 12 09/11/2022
4.4.13 17 09/11/2022
4.4.12 9 09/10/2022
4.4.11 7 09/11/2022
4.4.10 11 09/12/2022
4.4.9 13 09/10/2022
4.4.8 16 09/12/2022
4.4.7 8 09/09/2022
4.4.6 13 09/10/2022
4.4.5 27 09/09/2022
4.4.4 7 09/09/2022
4.4.3 14 09/08/2022
4.4.2 7 09/10/2022
4.4.1 6 09/10/2022
4.4.0 28 09/10/2022
4.3.11 9 09/08/2022
4.3.10 8 09/08/2022
4.3.9 10 09/10/2022
4.3.8 7 09/08/2022
4.3.7 16 09/10/2022
4.3.6 12 09/08/2022
4.3.5 8 09/10/2022
4.3.4 35 09/10/2022
4.3.3 8 09/09/2022
4.3.2 19 09/08/2022
4.3.1 8 09/10/2022
4.3.0 8 09/10/2022
4.2.3 25 09/09/2022
4.2.2 34 09/11/2022
4.2.1 8 09/11/2022
4.2.0 13 09/10/2022
4.1.2 12 09/11/2022
4.1.1 6 09/07/2022
4.1.0 31 09/09/2022
4.0.1 23 09/08/2022
4.0.0 17 09/09/2022
3.2.1 13 09/10/2022
3.2.0 9 09/09/2022
3.1.0 10 09/10/2022
3.0.0 22 09/08/2022
2.1.0 14 09/11/2022
2.0.1.2 10 09/09/2022
2.0.0.2000 16 09/10/2022
1.0.0.505 10 09/09/2022