Skip to content

Commit

Permalink
Common.Logging.NLog45 with support for structured logging and MDLC / …
Browse files Browse the repository at this point in the history
…NDLC
  • Loading branch information
snakefoot committed Jan 21, 2019
1 parent 8b7bf6d commit ad8437b
Show file tree
Hide file tree
Showing 17 changed files with 29,413 additions and 2 deletions.
28 changes: 26 additions & 2 deletions Common.Logging.2010.sln
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@


Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 14
# Visual Studio 14
VisualStudioVersion = 14.0.25420.1
MinimumVisualStudioVersion = 10.0.40219.1
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{EC54316A-A3B9-4EF5-A74C-1EC2344D0EA4}"
Expand Down Expand Up @@ -251,6 +251,14 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Common.Logging.NLog4412.Tes
{E9D93D91-F2C8-4037-A603-E3B2A6C06AFA} = {E9D93D91-F2C8-4037-A603-E3B2A6C06AFA}
EndProjectSection
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "NLog-4.5", "NLog-4.5", "{F424169D-6139-4DA5-9C3C-DACA06569BB3}"
EndProject
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}"
EndProject
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}"
EndProject
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}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Expand Down Expand Up @@ -609,6 +617,18 @@ Global
{FD1B1313-BF7E-4EB7-910A-D8ABA9A33697}.Debug|Any CPU.Build.0 = Debug|Any CPU
{FD1B1313-BF7E-4EB7-910A-D8ABA9A33697}.Release|Any CPU.ActiveCfg = Release|Any CPU
{FD1B1313-BF7E-4EB7-910A-D8ABA9A33697}.Release|Any CPU.Build.0 = Release|Any CPU
{70472F27-F839-496D-BD71-1E2071C187F3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{70472F27-F839-496D-BD71-1E2071C187F3}.Debug|Any CPU.Build.0 = Debug|Any CPU
{70472F27-F839-496D-BD71-1E2071C187F3}.Release|Any CPU.ActiveCfg = Release|Any CPU
{70472F27-F839-496D-BD71-1E2071C187F3}.Release|Any CPU.Build.0 = Release|Any CPU
{9A84CFDA-AF7E-467F-9EF6-0E3747583049}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{9A84CFDA-AF7E-467F-9EF6-0E3747583049}.Debug|Any CPU.Build.0 = Debug|Any CPU
{9A84CFDA-AF7E-467F-9EF6-0E3747583049}.Release|Any CPU.ActiveCfg = Release|Any CPU
{9A84CFDA-AF7E-467F-9EF6-0E3747583049}.Release|Any CPU.Build.0 = Release|Any CPU
{C8DB00A4-9758-4ABD-8844-56A0C30E60CE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{C8DB00A4-9758-4ABD-8844-56A0C30E60CE}.Debug|Any CPU.Build.0 = Debug|Any CPU
{C8DB00A4-9758-4ABD-8844-56A0C30E60CE}.Release|Any CPU.ActiveCfg = Release|Any CPU
{C8DB00A4-9758-4ABD-8844-56A0C30E60CE}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand Down Expand Up @@ -702,8 +722,12 @@ Global
{E9D93D91-F2C8-4037-A603-E3B2A6C06AFA} = {645E8182-EEAF-44AD-8DE2-5B15D2E1BD76}
{7D87085A-C95D-421B-BE22-27B24163AC0B} = {645E8182-EEAF-44AD-8DE2-5B15D2E1BD76}
{FD1B1313-BF7E-4EB7-910A-D8ABA9A33697} = {645E8182-EEAF-44AD-8DE2-5B15D2E1BD76}
{70472F27-F839-496D-BD71-1E2071C187F3} = {F424169D-6139-4DA5-9C3C-DACA06569BB3}
{9A84CFDA-AF7E-467F-9EF6-0E3747583049} = {F424169D-6139-4DA5-9C3C-DACA06569BB3}
{C8DB00A4-9758-4ABD-8844-56A0C30E60CE} = {F424169D-6139-4DA5-9C3C-DACA06569BB3}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
NAntAddinLastFileName = Common.Logging.build
SolutionGuid = {426C6B66-BFCA-49E7-9BEC-51824E1F779D}
EndGlobalSection
EndGlobal
Binary file added lib/NLog45/net/net40/NLog.dll
Binary file not shown.
26,568 changes: 26,568 additions & 0 deletions lib/NLog45/net/net40/NLog.xml

Large diffs are not rendered by default.

130 changes: 130 additions & 0 deletions src/Common.Logging.NLog45/Common.Logging.NLog45.2010-net40.csproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,130 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProductVersion>9.0.30729</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{70472F27-F839-496D-BD71-1E2071C187F3}</ProjectGuid>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>Common</RootNamespace>
<AssemblyName>Common.Logging.NLog45</AssemblyName>
<FileUpgradeFlags>
</FileUpgradeFlags>
<OldToolsVersion>3.5</OldToolsVersion>
<UpgradeBackupLocation>
</UpgradeBackupLocation>
<IsWebBootstrapper>false</IsWebBootstrapper>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<PublishUrl>publish\</PublishUrl>
<Install>true</Install>
<InstallFrom>Disk</InstallFrom>
<UpdateEnabled>false</UpdateEnabled>
<UpdateMode>Foreground</UpdateMode>
<UpdateInterval>7</UpdateInterval>
<UpdateIntervalUnits>Days</UpdateIntervalUnits>
<UpdatePeriodically>false</UpdatePeriodically>
<UpdateRequired>false</UpdateRequired>
<MapFileExtensions>true</MapFileExtensions>
<ApplicationRevision>0</ApplicationRevision>
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
<UseApplicationTrust>false</UseApplicationTrust>
<BootstrapperEnabled>true</BootstrapperEnabled>
<TargetFrameworkProfile />
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>..\..\build\net40\Common.Logging.NLog45\Debug\</OutputPath>
<DefineConstants>TRACE;DEBUG;NET_4_0;NLOG2</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<DocumentationFile>Common.Logging.NLog45.xml</DocumentationFile>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<NoWarn>1607</NoWarn>
<UseVSHostingProcess>false</UseVSHostingProcess>
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>..\..\build\net40\Common.Logging.NLog45\Release\</OutputPath>
<DefineConstants>TRACE;NET_4_0;NLOG2</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<DocumentationFile>Common.Logging.NLog444.xml</DocumentationFile>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<NoWarn>1607</NoWarn>
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<ItemGroup>
<Reference Include="NLog">
<HintPath>..\..\lib\NLog45\net\net40\NLog.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.configuration" />
<Reference Include="System.Data" />
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="..\Common.Logging.NLog10\Logging\NLog\CommonLoggingTarget.cs">
<Link>Logging\NLog\CommonLoggingTarget.cs</Link>
</Compile>
<Compile Include="..\Common.Logging.NLog10\Logging\NLog\NLogLoggerFactoryAdapter.cs">
<Link>Logging\NLog\NLogLoggerFactoryAdapter.cs</Link>
</Compile>
<Compile Include="..\Common.Logging.NLog20\Logging\NLog\NLogLogger.VariablesContext.cs">
<Link>Logging\NLog\NLogLogger.VariablesContext.cs</Link>
</Compile>
<Compile Include="..\Common.Logging.NLog41\Logging\NLog\NLogGlobalVariablesContext.cs">
<Link>Logging\NLog\NLogGlobalVariablesContext.cs</Link>
</Compile>
<Compile Include="Logging\NLog\NLogLogger.cs" />
<Compile Include="Logging\NLog\NLogNestedThreadVariablesContext.cs" />
<Compile Include="Logging\NLog\NLogThreadVariablesContext.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>
<ItemGroup>
<BootstrapperPackage Include="Microsoft.Net.Client.3.5">
<Visible>False</Visible>
<ProductName>.NET Framework 3.5 SP1 Client Profile</ProductName>
<Install>false</Install>
</BootstrapperPackage>
<BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
<Visible>False</Visible>
<ProductName>.NET Framework 3.5 SP1</ProductName>
<Install>true</Install>
</BootstrapperPackage>
<BootstrapperPackage Include="Microsoft.Windows.Installer.3.1">
<Visible>False</Visible>
<ProductName>Windows Installer 3.1</ProductName>
<Install>true</Install>
</BootstrapperPackage>
</ItemGroup>
<ItemGroup />
<ItemGroup>
<ProjectReference Include="..\Common.Logging.Core\Common.Logging.Core.2010.csproj">
<Project>{7eeb2191-b3fc-4509-aa4b-a345c386eeed}</Project>
<Name>Common.Logging.Core.2010</Name>
</ProjectReference>
<ProjectReference Include="..\Common.Logging\Common.Logging.2010-net40.csproj">
<Project>{440D903A-D409-48FC-A6C4-3EE69CCD663B}</Project>
<Name>Common.Logging.2010-net40</Name>
</ProjectReference>
</ItemGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
<ProjectExtensions>
<VisualStudio>
<UserProperties ProjectLinkerExcludeFilter="\\?desktop(\\.*)?$;\\?silverlight(\\.*)?$;\.desktop;\.silverlight;\.xaml;^service references(\\.*)?$;\.clientconfig;^web references(\\.*)?$" ProjectLinkReference="c3faaf50-ca05-42a5-9616-b48c21643d03" />
</VisualStudio>
</ProjectExtensions>
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
</Project>
31 changes: 31 additions & 0 deletions src/Common.Logging.NLog45/Common.Logging.NLog45.nuspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
<?xml version="1.0"?>
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<metadata>
<id>Common.Logging.NLog45</id>
<version>0.0.0</version>
<!-- placeholder value replaced by build script -->
<authors>Aleksandar Seovic, Mark Pollack, Erich Eichinger, Stephen Bohlen</authors>
<owners>Aleksandar Seovic, Mark Pollack, Erich Eichinger, Stephen Bohlen</owners>
<projectUrl>http://net-commons.github.io/common-logging/</projectUrl>
<iconUrl>https://raw.githubusercontent.com/net-commons/common-logging/master/nuget-graphics/common-logging-icon.png</iconUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<description>Common.Logging library bindings for NLog 4.5 logging framework.</description>
<tags>NLog Common.Logging.NLog logging log Common.Logging</tags>
<language>en-US</language>
<dependencies>
<dependency id="Common.Logging" version="3.4.1" />
<dependency id="NLog" version="4.5" />
</dependencies>
</metadata>
<files>
<file src="..\..\build\net40\Common.Logging.NLog4412\Release\Common.Logging.NLog45.dll" target="lib\net40" />
<file src="..\..\build\net40\Common.Logging.NLog4412\Release\Common.Logging.NLog45.pdb" target="lib\net40" />
<file src="..\..\build\net40\Common.Logging.NLog4412\Release\Common.Logging.NLog45.xml" target="lib\net40" />
<file src="..\..\build\net40\Common.Logging.NLog4412\Release\Common.Logging.NLog45.dll" target="lib\MonoAndroid10" />
<file src="..\..\build\net40\Common.Logging.NLog4412\Release\Common.Logging.NLog45.pdb" target="lib\MonoAndroid10" />
<file src="..\..\build\net40\Common.Logging.NLog4412\Release\Common.Logging.NLog45.xml" target="lib\MonoAndroid10" />
<file src="..\..\build\net40\Common.Logging.NLog4412\Release\Common.Logging.NLog45.dll" target="lib\Xamarin.iOS10" />
<file src="..\..\build\net40\Common.Logging.NLog4412\Release\Common.Logging.NLog45.pdb" target="lib\Xamarin.iOS10" />
<file src="..\..\build\net40\Common.Logging.NLog4412\Release\Common.Logging.NLog45.xml" target="lib\Xamarin.iOS10" />
</files>
</package>
Loading

0 comments on commit ad8437b

Please sign in to comment.