Abp.Castle.NLog 3.4.0

Abp的NLog日志输出模块。

There is a newer version of this package available.
See the version list below for details.
Install-Package Abp.Castle.NLog -Version 3.4.0
dotnet add package Abp.Castle.NLog --version 3.4.0
<PackageReference Include="Abp.Castle.NLog" Version="3.4.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Abp.Castle.NLog --version 3.4.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Abp.Castle.NLog, 3.4.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install Abp.Castle.NLog as a Cake Addin
#addin nuget:?package=Abp.Castle.NLog&version=3.4.0

// Install Abp.Castle.NLog as a Cake Tool
#tool nuget:?package=Abp.Castle.NLog&version=3.4.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

使用方法

  • 使用nlog.config 文件
  • 修改Startup, 将原来的日志组件log4net替换为nlog
  • 注释using Abp.Castle.Logging.Log4Net; 添加using Abp.Castle.Logging.NLog;
  • 修改ConfigureServices方法:f => f.UseAbpNLog().WithConfig("nlog.config")

好了,其它的不用动了了。

使用方法

  • 使用nlog.config 文件
  • 修改Startup, 将原来的日志组件log4net替换为nlog
  • 注释using Abp.Castle.Logging.Log4Net; 添加using Abp.Castle.Logging.NLog;
  • 修改ConfigureServices方法:f => f.UseAbpNLog().WithConfig("nlog.config")

好了,其它的不用动了了。

Release Notes

Abp的NLog日志输出模块。

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
4.6.0.1 2,811 5/31/2019
4.6.0 325 5/31/2019
3.8.1 4,877 7/31/2018
3.7.2 718 6/13/2018
3.6.2 556 5/25/2018
3.6.1 552 5/15/2018
3.6.0 549 5/25/2018
3.5.0 685 4/5/2018
3.4.0 619 2/24/2018
Show less