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 |
---|---|
Exceptionless.NLog
NLog target that sends log entries to Exceptionless. Exceptionless is a cloud based error reporting service that sends your exceptions to https://exceptionless.com and provides aggregated views and analytics.
|
28 |
NLog.Database
NLog.Database includes DatabaseTarget for writing to any database with DbProvider support
|
9 |
NLog.Database
NLog.Database includes DatabaseTarget for writing to any database with DbProvider support
|
10 |
NLog.Database
NLog.Database includes DatabaseTarget for writing to any database with DbProvider support
|
42 |
NLog.Extensions.Logging
NLog LoggerProvider for Microsoft.Extensions.Logging for logging in .NET Standard libraries and .NET Core applications.
For ASP.NET Core, check: https://www.nuget.org/packages/NLog.Web.AspNetCore
|
8 |
NLog.Extensions.Logging
NLog LoggerProvider for Microsoft.Extensions.Logging for logging in .NET Standard libraries and .NET Core applications.
For ASP.NET Core, check: https://www.nuget.org/packages/NLog.Web.AspNetCore
|
10 |
NLog.Extensions.Logging
NLog LoggerProvider for Microsoft.Extensions.Logging for logging in .NET Standard libraries and .NET Core applications.
For ASP.NET Core, check: https://www.nuget.org/packages/NLog.Web.AspNetCore
|
15 |
NLog.Extensions.Logging
NLog LoggerProvider for Microsoft.Extensions.Logging for logging in .NET Standard libraries and .NET Core applications.
For ASP.NET Core, check: https://www.nuget.org/packages/NLog.Web.AspNetCore
|
43 |
NLog.Targets.ElasticSearch
An NLog target that utilises the elasticsearch low level client.
|
10 |
NLog.Targets.ElasticSearch
NLog target for ElasticSearch
|
8 |
NLog.Web.AspNetCore
Extend NLog with targets and layout renderers for websites and webapplications on the ASP.NET Core platform.
|
10 |
RocketMQ.Client
.NET Client for Apache RocketMQ
|
8 |
RocketMQ.Client
.NET Client for Apache RocketMQ
|
9 |
RocketMQ.Client
.NET Client for Apache RocketMQ
|
11 |
RocketMQ.Client
.NET Client for Apache RocketMQ
|
26 |
ZhonTai.Admin
中台Admin接口库
|
8 |
ZhonTai.Admin
中台Admin权限管理接口库
|
13 |
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.4 | 0 | 09/12/2024 |
5.3.3 | 0 | 08/12/2024 |
5.3.2 | 16 | 05/12/2024 |
5.3.1 | 5 | 05/11/2024 |
5.2.8 | 16 | 02/04/2024 |
5.2.7 | 7 | 04/27/2024 |
5.2.6 | 5 | 04/27/2024 |
5.2.5 | 5 | 04/27/2024 |
5.2.4 | 6 | 04/27/2024 |
5.2.3 | 7 | 05/24/2024 |
5.2.2 | 6 | 04/28/2024 |
5.2.1 | 0 | 07/01/2023 |
5.1.5 | 6 | 05/12/2024 |
5.1.4 | 4 | 05/09/2024 |
5.1.0 | 6 | 05/12/2024 |
5.0.5 | 2 | 05/08/2024 |
5.0.4 | 12 | 07/04/2023 |
5.0.3 | 8 | 07/04/2023 |
4.7.15 | 11 | 07/04/2023 |
4.7.12 | 7 | 07/04/2023 |
4.7.3 | 5 | 05/02/2024 |
4.7.0 | 8 | 04/30/2024 |
4.6.5 | 8 | 05/01/2024 |
4.6.3 | 8 | 05/02/2024 |
4.6.1 | 9 | 07/16/2023 |
4.5.10 | 5 | 05/10/2024 |
4.5.9 | 8 | 07/04/2023 |
4.5.0 | 5 | 04/28/2024 |
4.4.0 | 8 | 05/02/2024 |
4.3.11 | 7 | 07/04/2023 |
4.3.3 | 8 | 05/24/2024 |
4.3.0 | 8 | 05/02/2024 |
4.2.0 | 6 | 07/04/2023 |
4.1.0 | 5 | 04/28/2024 |
4.0.0 | 0 | 06/09/2015 |
3.2.1 | 9 | 05/02/2024 |
3.2.0 | 9 | 04/29/2024 |
3.1.0 | 5 | 07/16/2023 |
3.0.0 | 7 | 05/12/2024 |
2.1.0 | 5 | 05/26/2024 |
2.0.1.2 | 0 | 04/08/2013 |