NLog.WCF
April 19, 2026 ยท View on GitHub
NLog WCF target for sending LogEvents to NLog Receiver Service (using WCF or Web Services)
How to install
-
Install the package
Install-Package NLog.WCFor in your csproj:<PackageReference Include="NLog.WCF" Version="6.*" /> -
Add to your nlog.config:
<extensions> <add assembly="NLog.WCF"/> </extensions>Alternative register from code using fluent configuration API:
LogManager.Setup().SetupExtensions(ext => { ext.RegisterTarget<NLog.Targets.LogReceiverWebServiceTarget>(); });
See also NLog Wiki for available options and examples.