NLog.Targets.ConcurrentFile 6.0.0-rc3

This is a prerelease version of NLog.Targets.ConcurrentFile.
There is a newer version of this package available.
See the version list below for details.
dotnet add package NLog.Targets.ConcurrentFile --version 6.0.0-rc3
                    
NuGet\Install-Package NLog.Targets.ConcurrentFile -Version 6.0.0-rc3
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="NLog.Targets.ConcurrentFile" Version="6.0.0-rc3" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="NLog.Targets.ConcurrentFile" Version="6.0.0-rc3" />
                    
Directory.Packages.props
<PackageReference Include="NLog.Targets.ConcurrentFile" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add NLog.Targets.ConcurrentFile --version 6.0.0-rc3
                    
#r "nuget: NLog.Targets.ConcurrentFile, 6.0.0-rc3"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package NLog.Targets.ConcurrentFile@6.0.0-rc3
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=NLog.Targets.ConcurrentFile&version=6.0.0-rc3&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=NLog.Targets.ConcurrentFile&version=6.0.0-rc3&prerelease
                    
Install as a Cake Tool

NLog Concurrent File Target

NLog File Target with support for ConcurrentWrites where multiple processes can write to the same file.

If having trouble with output, then check NLog InternalLogger for clues. See also Troubleshooting NLog

See the NLog Wiki for available options and examples.

Register Extension

NLog will only recognize type-alias File when loading from NLog.config-file, if having added extension to NLog.config-file:

<extensions>
    <add assembly="NLog.Targets.ConcurrentFile"/>
</extensions>

Alternative register from code using fluent configuration API:

LogManager.Setup().SetupExtensions(ext => {
   ext.RegisterTarget<NLog.Targets.ConcurrentFileTarget>();
});
Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net35 is compatible.  net40 was computed.  net403 was computed.  net45 is compatible.  net451 was computed.  net452 was computed.  net46 is compatible.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .NETFramework 3.5

    • NLog (>= 6.0.0-rc3)
  • .NETFramework 4.5

    • NLog (>= 6.0.0-rc3)
  • .NETFramework 4.6

    • NLog (>= 6.0.0-rc3)
  • .NETStandard 2.0

    • NLog (>= 6.0.0-rc3)

NuGet packages (2)

Showing the top 2 NuGet packages that depend on NLog.Targets.ConcurrentFile:

Package Downloads
Aquality.Selenium.Core

Core functions for Selenium-based libraries for .NET

KamiSama.Extensions.NLog

Uilities for famous logging library (NLog): - PersianDateLayoutRenderer - PersianLongDateLayoutRenderer - PersianShortDateLayoutRenderer - EncryptedZipArchiFileCompressor (archieve file with password)

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
6.0.2 56 7/20/2025
6.0.1 764 6/27/2025
6.0.0 477 6/21/2025
6.0.0-rc4 107 6/15/2025
6.0.0-rc3 119 6/8/2025
6.0.0-rc2 141 6/1/2025
6.0.0-rc1 141 5/25/2025
6.0.0-preview1 149 4/29/2025