Skip to content

Commit e48d6cc

Browse files
Merge pull request #141 from NLog/xmldocs
Enable XML docs + docs
2 parents 171ed92 + abb1979 commit e48d6cc

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

src/NLog.Extensions.Logging/NLog.Extensions.Logging.csproj

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,9 @@ For ASP.NET Core, use NLog.Web.AspNetCore</Description>
4646
<PropertyGroup Condition=" '$(TargetFramework)' == 'netstandard1.3' Or '$(TargetFramework)' == 'netstandard2.0'">
4747
<DefineConstants>$(DefineConstants);NETCORE</DefineConstants>
4848
</PropertyGroup>
49+
<PropertyGroup>
50+
<DocumentationFile>bin\$(Configuration)\$(TargetFramework)\NLog.Extensions.Logging.xml</DocumentationFile>
51+
</PropertyGroup>
4952
<ItemGroup Condition=" '$(TargetFramework)' == 'netstandard1.3' ">
5053
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="1.1.2" />
5154
<PackageReference Include="NLog" Version="5.0.0-beta11" />

src/NLog.Extensions.Logging/NLogLoggerProvider.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
namespace NLog.Extensions.Logging
22
{
33
/// <summary>
4-
/// Provider logger for NLog.
4+
/// Provider logger for NLog + Microsoft.Extensions.Logging
55
/// </summary>
66
public class NLogLoggerProvider : Microsoft.Extensions.Logging.ILoggerProvider
77
{

src/NLog.Extensions.Logging/NLogProviderOptions.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44

55
namespace NLog.Extensions.Logging
66
{
7+
/// <summary>
8+
/// Options for logging to NLog with
9+
/// </summary>
710
public class NLogProviderOptions
811
{
912
/// <summary>

0 commit comments

Comments
 (0)