Skip to content

Commit e50cca4

Browse files
committed
Common.Logging.NLog45 with support for structured logging and MDLC / NDLC
1 parent 8b7bf6d commit e50cca4

16 files changed

+28555
-2
lines changed

Common.Logging.2010.sln

+26-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
1+
22
Microsoft Visual Studio Solution File, Format Version 12.00
3-
# Visual Studio 14
3+
# Visual Studio 14
44
VisualStudioVersion = 14.0.25420.1
55
MinimumVisualStudioVersion = 10.0.40219.1
66
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{EC54316A-A3B9-4EF5-A74C-1EC2344D0EA4}"
@@ -251,6 +251,14 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Common.Logging.NLog4412.Tes
251251
{E9D93D91-F2C8-4037-A603-E3B2A6C06AFA} = {E9D93D91-F2C8-4037-A603-E3B2A6C06AFA}
252252
EndProjectSection
253253
EndProject
254+
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "NLog-4.5", "NLog-4.5", "{F424169D-6139-4DA5-9C3C-DACA06569BB3}"
255+
EndProject
256+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Common.Logging.NLog45.2010-net40", "src\Common.Logging.NLog45\Common.Logging.NLog45.2010-net40.csproj", "{70472F27-F839-496D-BD71-1E2071C187F3}"
257+
EndProject
258+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Common.Logging.NLog45.Tests.2010-net40", "test\Common.Logging.NLog45.Tests\Common.Logging.NLog45.Tests.2010-net40.csproj", "{9A84CFDA-AF7E-467F-9EF6-0E3747583049}"
259+
EndProject
260+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Common.Logging.NLog45.Tests.Integration.2010-net40", "test\Common.Logging.NLog45.Integration.Tests\Common.Logging.NLog45.Tests.Integration.2010-net40.csproj", "{C8DB00A4-9758-4ABD-8844-56A0C30E60CE}"
261+
EndProject
254262
Global
255263
GlobalSection(SolutionConfigurationPlatforms) = preSolution
256264
Debug|Any CPU = Debug|Any CPU
@@ -609,6 +617,18 @@ Global
609617
{FD1B1313-BF7E-4EB7-910A-D8ABA9A33697}.Debug|Any CPU.Build.0 = Debug|Any CPU
610618
{FD1B1313-BF7E-4EB7-910A-D8ABA9A33697}.Release|Any CPU.ActiveCfg = Release|Any CPU
611619
{FD1B1313-BF7E-4EB7-910A-D8ABA9A33697}.Release|Any CPU.Build.0 = Release|Any CPU
620+
{70472F27-F839-496D-BD71-1E2071C187F3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
621+
{70472F27-F839-496D-BD71-1E2071C187F3}.Debug|Any CPU.Build.0 = Debug|Any CPU
622+
{70472F27-F839-496D-BD71-1E2071C187F3}.Release|Any CPU.ActiveCfg = Release|Any CPU
623+
{70472F27-F839-496D-BD71-1E2071C187F3}.Release|Any CPU.Build.0 = Release|Any CPU
624+
{9A84CFDA-AF7E-467F-9EF6-0E3747583049}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
625+
{9A84CFDA-AF7E-467F-9EF6-0E3747583049}.Debug|Any CPU.Build.0 = Debug|Any CPU
626+
{9A84CFDA-AF7E-467F-9EF6-0E3747583049}.Release|Any CPU.ActiveCfg = Release|Any CPU
627+
{9A84CFDA-AF7E-467F-9EF6-0E3747583049}.Release|Any CPU.Build.0 = Release|Any CPU
628+
{C8DB00A4-9758-4ABD-8844-56A0C30E60CE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
629+
{C8DB00A4-9758-4ABD-8844-56A0C30E60CE}.Debug|Any CPU.Build.0 = Debug|Any CPU
630+
{C8DB00A4-9758-4ABD-8844-56A0C30E60CE}.Release|Any CPU.ActiveCfg = Release|Any CPU
631+
{C8DB00A4-9758-4ABD-8844-56A0C30E60CE}.Release|Any CPU.Build.0 = Release|Any CPU
612632
EndGlobalSection
613633
GlobalSection(SolutionProperties) = preSolution
614634
HideSolutionNode = FALSE
@@ -702,8 +722,12 @@ Global
702722
{E9D93D91-F2C8-4037-A603-E3B2A6C06AFA} = {645E8182-EEAF-44AD-8DE2-5B15D2E1BD76}
703723
{7D87085A-C95D-421B-BE22-27B24163AC0B} = {645E8182-EEAF-44AD-8DE2-5B15D2E1BD76}
704724
{FD1B1313-BF7E-4EB7-910A-D8ABA9A33697} = {645E8182-EEAF-44AD-8DE2-5B15D2E1BD76}
725+
{70472F27-F839-496D-BD71-1E2071C187F3} = {F424169D-6139-4DA5-9C3C-DACA06569BB3}
726+
{9A84CFDA-AF7E-467F-9EF6-0E3747583049} = {F424169D-6139-4DA5-9C3C-DACA06569BB3}
727+
{C8DB00A4-9758-4ABD-8844-56A0C30E60CE} = {F424169D-6139-4DA5-9C3C-DACA06569BB3}
705728
EndGlobalSection
706729
GlobalSection(ExtensibilityGlobals) = postSolution
707730
NAntAddinLastFileName = Common.Logging.build
731+
SolutionGuid = {426C6B66-BFCA-49E7-9BEC-51824E1F779D}
708732
EndGlobalSection
709733
EndGlobal

lib/NLog45/net/net40/NLog.dll

657 KB
Binary file not shown.

lib/NLog45/net/net40/NLog.xml

+26,568
Large diffs are not rendered by default.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,130 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
3+
<PropertyGroup>
4+
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
5+
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
6+
<ProductVersion>9.0.30729</ProductVersion>
7+
<SchemaVersion>2.0</SchemaVersion>
8+
<ProjectGuid>{70472F27-F839-496D-BD71-1E2071C187F3}</ProjectGuid>
9+
<OutputType>Library</OutputType>
10+
<AppDesignerFolder>Properties</AppDesignerFolder>
11+
<RootNamespace>Common</RootNamespace>
12+
<AssemblyName>Common.Logging.NLog45</AssemblyName>
13+
<FileUpgradeFlags>
14+
</FileUpgradeFlags>
15+
<OldToolsVersion>3.5</OldToolsVersion>
16+
<UpgradeBackupLocation>
17+
</UpgradeBackupLocation>
18+
<IsWebBootstrapper>false</IsWebBootstrapper>
19+
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
20+
<PublishUrl>publish\</PublishUrl>
21+
<Install>true</Install>
22+
<InstallFrom>Disk</InstallFrom>
23+
<UpdateEnabled>false</UpdateEnabled>
24+
<UpdateMode>Foreground</UpdateMode>
25+
<UpdateInterval>7</UpdateInterval>
26+
<UpdateIntervalUnits>Days</UpdateIntervalUnits>
27+
<UpdatePeriodically>false</UpdatePeriodically>
28+
<UpdateRequired>false</UpdateRequired>
29+
<MapFileExtensions>true</MapFileExtensions>
30+
<ApplicationRevision>0</ApplicationRevision>
31+
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
32+
<UseApplicationTrust>false</UseApplicationTrust>
33+
<BootstrapperEnabled>true</BootstrapperEnabled>
34+
<TargetFrameworkProfile />
35+
</PropertyGroup>
36+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
37+
<DebugSymbols>true</DebugSymbols>
38+
<DebugType>full</DebugType>
39+
<Optimize>false</Optimize>
40+
<OutputPath>..\..\build\net40\Common.Logging.NLog45\Debug\</OutputPath>
41+
<DefineConstants>TRACE;DEBUG;NET_4_0;NLOG2</DefineConstants>
42+
<ErrorReport>prompt</ErrorReport>
43+
<WarningLevel>4</WarningLevel>
44+
<DocumentationFile>Common.Logging.NLog45.xml</DocumentationFile>
45+
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
46+
<NoWarn>1607</NoWarn>
47+
<UseVSHostingProcess>false</UseVSHostingProcess>
48+
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
49+
</PropertyGroup>
50+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
51+
<DebugType>pdbonly</DebugType>
52+
<Optimize>true</Optimize>
53+
<OutputPath>..\..\build\net40\Common.Logging.NLog45\Release\</OutputPath>
54+
<DefineConstants>TRACE;NET_4_0;NLOG2</DefineConstants>
55+
<ErrorReport>prompt</ErrorReport>
56+
<WarningLevel>4</WarningLevel>
57+
<DocumentationFile>Common.Logging.NLog45.xml</DocumentationFile>
58+
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
59+
<NoWarn>1607</NoWarn>
60+
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
61+
</PropertyGroup>
62+
<ItemGroup>
63+
<Reference Include="NLog">
64+
<HintPath>..\..\lib\NLog45\net\net40\NLog.dll</HintPath>
65+
</Reference>
66+
<Reference Include="System" />
67+
<Reference Include="System.configuration" />
68+
<Reference Include="System.Data" />
69+
<Reference Include="System.Xml" />
70+
</ItemGroup>
71+
<ItemGroup>
72+
<Compile Include="..\Common.Logging.NLog10\Logging\NLog\CommonLoggingTarget.cs">
73+
<Link>Logging\NLog\CommonLoggingTarget.cs</Link>
74+
</Compile>
75+
<Compile Include="..\Common.Logging.NLog10\Logging\NLog\NLogLoggerFactoryAdapter.cs">
76+
<Link>Logging\NLog\NLogLoggerFactoryAdapter.cs</Link>
77+
</Compile>
78+
<Compile Include="..\Common.Logging.NLog20\Logging\NLog\NLogLogger.VariablesContext.cs">
79+
<Link>Logging\NLog\NLogLogger.VariablesContext.cs</Link>
80+
</Compile>
81+
<Compile Include="..\Common.Logging.NLog41\Logging\NLog\NLogGlobalVariablesContext.cs">
82+
<Link>Logging\NLog\NLogGlobalVariablesContext.cs</Link>
83+
</Compile>
84+
<Compile Include="Logging\NLog\NLogLogger.cs" />
85+
<Compile Include="Logging\NLog\NLogNestedThreadVariablesContext.cs" />
86+
<Compile Include="Logging\NLog\NLogThreadVariablesContext.cs" />
87+
<Compile Include="Properties\AssemblyInfo.cs" />
88+
</ItemGroup>
89+
<ItemGroup>
90+
<BootstrapperPackage Include="Microsoft.Net.Client.3.5">
91+
<Visible>False</Visible>
92+
<ProductName>.NET Framework 3.5 SP1 Client Profile</ProductName>
93+
<Install>false</Install>
94+
</BootstrapperPackage>
95+
<BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
96+
<Visible>False</Visible>
97+
<ProductName>.NET Framework 3.5 SP1</ProductName>
98+
<Install>true</Install>
99+
</BootstrapperPackage>
100+
<BootstrapperPackage Include="Microsoft.Windows.Installer.3.1">
101+
<Visible>False</Visible>
102+
<ProductName>Windows Installer 3.1</ProductName>
103+
<Install>true</Install>
104+
</BootstrapperPackage>
105+
</ItemGroup>
106+
<ItemGroup />
107+
<ItemGroup>
108+
<ProjectReference Include="..\Common.Logging.Core\Common.Logging.Core.2010.csproj">
109+
<Project>{7eeb2191-b3fc-4509-aa4b-a345c386eeed}</Project>
110+
<Name>Common.Logging.Core.2010</Name>
111+
</ProjectReference>
112+
<ProjectReference Include="..\Common.Logging\Common.Logging.2010-net40.csproj">
113+
<Project>{440D903A-D409-48FC-A6C4-3EE69CCD663B}</Project>
114+
<Name>Common.Logging.2010-net40</Name>
115+
</ProjectReference>
116+
</ItemGroup>
117+
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
118+
<ProjectExtensions>
119+
<VisualStudio>
120+
<UserProperties ProjectLinkerExcludeFilter="\\?desktop(\\.*)?$;\\?silverlight(\\.*)?$;\.desktop;\.silverlight;\.xaml;^service references(\\.*)?$;\.clientconfig;^web references(\\.*)?$" ProjectLinkReference="c3faaf50-ca05-42a5-9616-b48c21643d03" />
121+
</VisualStudio>
122+
</ProjectExtensions>
123+
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
124+
Other similar extension points exist, see Microsoft.Common.targets.
125+
<Target Name="BeforeBuild">
126+
</Target>
127+
<Target Name="AfterBuild">
128+
</Target>
129+
-->
130+
</Project>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
<?xml version="1.0"?>
2+
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
3+
<metadata>
4+
<id>Common.Logging.NLog45</id>
5+
<version>0.0.0</version>
6+
<!-- placeholder value replaced by build script -->
7+
<authors>Aleksandar Seovic, Mark Pollack, Erich Eichinger, Stephen Bohlen</authors>
8+
<owners>Aleksandar Seovic, Mark Pollack, Erich Eichinger, Stephen Bohlen</owners>
9+
<projectUrl>http://net-commons.github.io/common-logging/</projectUrl>
10+
<iconUrl>https://raw.githubusercontent.com/net-commons/common-logging/master/nuget-graphics/common-logging-icon.png</iconUrl>
11+
<requireLicenseAcceptance>false</requireLicenseAcceptance>
12+
<description>Common.Logging library bindings for NLog 4.5 logging framework.</description>
13+
<tags>NLog Common.Logging.NLog logging log Common.Logging</tags>
14+
<language>en-US</language>
15+
<dependencies>
16+
<dependency id="Common.Logging" version="3.4.1" />
17+
<dependency id="NLog" version="4.5" />
18+
</dependencies>
19+
</metadata>
20+
<files>
21+
<file src="..\..\build\net40\Common.Logging.NLog4412\Release\Common.Logging.NLog45.dll" target="lib\net40" />
22+
<file src="..\..\build\net40\Common.Logging.NLog4412\Release\Common.Logging.NLog45.pdb" target="lib\net40" />
23+
<file src="..\..\build\net40\Common.Logging.NLog4412\Release\Common.Logging.NLog45.xml" target="lib\net40" />
24+
<file src="..\..\build\net40\Common.Logging.NLog4412\Release\Common.Logging.NLog45.dll" target="lib\MonoAndroid10" />
25+
<file src="..\..\build\net40\Common.Logging.NLog4412\Release\Common.Logging.NLog45.pdb" target="lib\MonoAndroid10" />
26+
<file src="..\..\build\net40\Common.Logging.NLog4412\Release\Common.Logging.NLog45.xml" target="lib\MonoAndroid10" />
27+
<file src="..\..\build\net40\Common.Logging.NLog4412\Release\Common.Logging.NLog45.dll" target="lib\Xamarin.iOS10" />
28+
<file src="..\..\build\net40\Common.Logging.NLog4412\Release\Common.Logging.NLog45.pdb" target="lib\Xamarin.iOS10" />
29+
<file src="..\..\build\net40\Common.Logging.NLog4412\Release\Common.Logging.NLog45.xml" target="lib\Xamarin.iOS10" />
30+
</files>
31+
</package>

0 commit comments

Comments
 (0)