From 8b8a8b38e304b7450a806136927012358af40da4 Mon Sep 17 00:00:00 2001 From: Julian Verdurmen <304NotModified@users.noreply.github.com> Date: Sun, 15 Jan 2017 17:05:28 +0100 Subject: [PATCH] move from nlog.extensions.logging, reference nlog.extensions.logging & asp.net-core --- NLog.Web.AspNetCore.Tests/project.lock.json | 360 +++++++++- NLog.Web.AspNetCore/AspNetExtensions.cs | 42 +- NLog.Web.AspNetCore/project.json | 56 +- NLog.Web.AspNetCore/project.lock.json | 704 +++++++++++++++++++- 4 files changed, 1127 insertions(+), 35 deletions(-) diff --git a/NLog.Web.AspNetCore.Tests/project.lock.json b/NLog.Web.AspNetCore.Tests/project.lock.json index 496d85ac..f8aaa0b5 100644 --- a/NLog.Web.AspNetCore.Tests/project.lock.json +++ b/NLog.Web.AspNetCore.Tests/project.lock.json @@ -66,6 +66,34 @@ } } }, + "Microsoft.AspNetCore.Hosting/1.0.0": { + "type": "package", + "dependencies": { + "Microsoft.AspNetCore.Hosting.Abstractions": "1.0.0", + "Microsoft.AspNetCore.Hosting.Server.Abstractions": "1.0.0", + "Microsoft.AspNetCore.Http": "1.0.0", + "Microsoft.AspNetCore.Http.Extensions": "1.0.0", + "Microsoft.Extensions.Configuration": "1.0.0", + "Microsoft.Extensions.Configuration.EnvironmentVariables": "1.0.0", + "Microsoft.Extensions.DependencyInjection": "1.0.0", + "Microsoft.Extensions.FileProviders.Physical": "1.0.0", + "Microsoft.Extensions.Logging": "1.0.0", + "Microsoft.Extensions.Options": "1.0.0", + "Microsoft.Extensions.PlatformAbstractions": "1.0.0", + "System.Console": "4.0.0", + "System.Diagnostics.DiagnosticSource": "4.0.0", + "System.Diagnostics.StackTrace": "4.0.1", + "System.Reflection.Extensions": "4.0.1", + "System.Reflection.Metadata": "1.3.0", + "System.Runtime.InteropServices.RuntimeInformation": "4.0.0" + }, + "compile": { + "lib/netstandard1.3/Microsoft.AspNetCore.Hosting.dll": {} + }, + "runtime": { + "lib/netstandard1.3/Microsoft.AspNetCore.Hosting.dll": {} + } + }, "Microsoft.AspNetCore.Hosting.Abstractions/1.0.0": { "type": "package", "dependencies": { @@ -96,6 +124,24 @@ "lib/netstandard1.3/Microsoft.AspNetCore.Hosting.Server.Abstractions.dll": {} } }, + "Microsoft.AspNetCore.Http/1.0.0": { + "type": "package", + "dependencies": { + "Microsoft.AspNetCore.Http.Abstractions": "1.0.0", + "Microsoft.AspNetCore.WebUtilities": "1.0.0", + "Microsoft.Extensions.ObjectPool": "1.0.0", + "Microsoft.Extensions.Options": "1.0.0", + "Microsoft.Net.Http.Headers": "1.0.0", + "System.Buffers": "4.0.0", + "System.Threading": "4.0.11" + }, + "compile": { + "lib/netstandard1.3/Microsoft.AspNetCore.Http.dll": {} + }, + "runtime": { + "lib/netstandard1.3/Microsoft.AspNetCore.Http.dll": {} + } + }, "Microsoft.AspNetCore.Http.Abstractions/1.0.0": { "type": "package", "dependencies": { @@ -165,6 +211,23 @@ "lib/netstandard1.3/Microsoft.AspNetCore.Routing.Abstractions.dll": {} } }, + "Microsoft.AspNetCore.WebUtilities/1.0.0": { + "type": "package", + "dependencies": { + "Microsoft.Extensions.Primitives": "1.0.0", + "System.Buffers": "4.0.0", + "System.Collections": "4.0.11", + "System.IO": "4.1.0", + "System.IO.FileSystem": "4.0.1", + "System.Text.Encodings.Web": "4.0.0" + }, + "compile": { + "lib/netstandard1.3/Microsoft.AspNetCore.WebUtilities.dll": {} + }, + "runtime": { + "lib/netstandard1.3/Microsoft.AspNetCore.WebUtilities.dll": {} + } + }, "Microsoft.CodeAnalysis.Analyzers/1.1.0": { "type": "package" }, @@ -354,6 +417,25 @@ "lib/netstandard1.6/Microsoft.DotNet.ProjectModel.dll": {} } }, + "Microsoft.Extensions.Configuration/1.0.0": { + "type": "package", + "dependencies": { + "Microsoft.Extensions.Configuration.Abstractions": "1.0.0", + "System.Collections": "4.0.11", + "System.Diagnostics.Debug": "4.0.11", + "System.IO": "4.1.0", + "System.Resources.ResourceManager": "4.0.1", + "System.Runtime.Extensions": "4.1.0", + "System.Runtime.InteropServices": "4.1.0", + "System.Threading": "4.0.11" + }, + "compile": { + "lib/netstandard1.1/Microsoft.Extensions.Configuration.dll": {} + }, + "runtime": { + "lib/netstandard1.1/Microsoft.Extensions.Configuration.dll": {} + } + }, "Microsoft.Extensions.Configuration.Abstractions/1.0.0": { "type": "package", "dependencies": { @@ -367,6 +449,35 @@ "lib/netstandard1.0/Microsoft.Extensions.Configuration.Abstractions.dll": {} } }, + "Microsoft.Extensions.Configuration.EnvironmentVariables/1.0.0": { + "type": "package", + "dependencies": { + "Microsoft.Extensions.Configuration": "1.0.0" + }, + "compile": { + "lib/netstandard1.3/Microsoft.Extensions.Configuration.EnvironmentVariables.dll": {} + }, + "runtime": { + "lib/netstandard1.3/Microsoft.Extensions.Configuration.EnvironmentVariables.dll": {} + } + }, + "Microsoft.Extensions.DependencyInjection/1.0.0": { + "type": "package", + "dependencies": { + "Microsoft.Extensions.DependencyInjection.Abstractions": "1.0.0", + "System.Collections": "4.0.11", + "System.Collections.Concurrent": "4.0.12", + "System.Runtime.Extensions": "4.1.0", + "System.Threading": "4.0.11", + "System.Threading.Tasks": "4.0.11" + }, + "compile": { + "lib/netstandard1.1/Microsoft.Extensions.DependencyInjection.dll": {} + }, + "runtime": { + "lib/netstandard1.1/Microsoft.Extensions.DependencyInjection.dll": {} + } + }, "Microsoft.Extensions.DependencyInjection.Abstractions/1.0.0": { "type": "package", "dependencies": { @@ -415,6 +526,54 @@ "lib/netstandard1.0/Microsoft.Extensions.FileProviders.Abstractions.dll": {} } }, + "Microsoft.Extensions.FileProviders.Physical/1.0.0": { + "type": "package", + "dependencies": { + "Microsoft.Extensions.FileProviders.Abstractions": "1.0.0", + "Microsoft.Extensions.FileSystemGlobbing": "1.0.0", + "System.Collections.Concurrent": "4.0.12", + "System.IO.FileSystem": "4.0.1", + "System.IO.FileSystem.Watcher": "4.0.0", + "System.Runtime.Extensions": "4.1.0", + "System.Threading": "4.0.11" + }, + "compile": { + "lib/netstandard1.3/Microsoft.Extensions.FileProviders.Physical.dll": {} + }, + "runtime": { + "lib/netstandard1.3/Microsoft.Extensions.FileProviders.Physical.dll": {} + } + }, + "Microsoft.Extensions.FileSystemGlobbing/1.0.0": { + "type": "package", + "dependencies": { + "System.Collections": "4.0.11", + "System.IO.FileSystem": "4.0.1", + "System.Linq": "4.1.0", + "System.Resources.ResourceManager": "4.0.1", + "System.Runtime.Extensions": "4.1.0" + }, + "compile": { + "lib/netstandard1.3/Microsoft.Extensions.FileSystemGlobbing.dll": {} + }, + "runtime": { + "lib/netstandard1.3/Microsoft.Extensions.FileSystemGlobbing.dll": {} + } + }, + "Microsoft.Extensions.Logging/1.0.0": { + "type": "package", + "dependencies": { + "Microsoft.Extensions.DependencyInjection.Abstractions": "1.0.0", + "Microsoft.Extensions.Logging.Abstractions": "1.0.0", + "System.Threading": "4.0.11" + }, + "compile": { + "lib/netstandard1.1/Microsoft.Extensions.Logging.dll": {} + }, + "runtime": { + "lib/netstandard1.1/Microsoft.Extensions.Logging.dll": {} + } + }, "Microsoft.Extensions.Logging.Abstractions/1.0.0": { "type": "package", "dependencies": { @@ -435,6 +594,43 @@ "lib/netstandard1.1/Microsoft.Extensions.Logging.Abstractions.dll": {} } }, + "Microsoft.Extensions.ObjectPool/1.0.0": { + "type": "package", + "dependencies": { + "System.Diagnostics.Debug": "4.0.11", + "System.Resources.ResourceManager": "4.0.1", + "System.Runtime.Extensions": "4.1.0", + "System.Threading": "4.0.11" + }, + "compile": { + "lib/netstandard1.3/Microsoft.Extensions.ObjectPool.dll": {} + }, + "runtime": { + "lib/netstandard1.3/Microsoft.Extensions.ObjectPool.dll": {} + } + }, + "Microsoft.Extensions.Options/1.0.0": { + "type": "package", + "dependencies": { + "Microsoft.Extensions.DependencyInjection.Abstractions": "1.0.0", + "Microsoft.Extensions.Primitives": "1.0.0", + "System.ComponentModel": "4.0.1", + "System.Diagnostics.Debug": "4.0.11", + "System.Globalization": "4.0.11", + "System.Linq": "4.1.0", + "System.Linq.Expressions": "4.1.0", + "System.Reflection": "4.1.0", + "System.Resources.ResourceManager": "4.0.1", + "System.Runtime.Extensions": "4.1.0", + "System.Threading": "4.0.11" + }, + "compile": { + "lib/netstandard1.0/Microsoft.Extensions.Options.dll": {} + }, + "runtime": { + "lib/netstandard1.0/Microsoft.Extensions.Options.dll": {} + } + }, "Microsoft.Extensions.PlatformAbstractions/1.0.0": { "type": "package", "dependencies": { @@ -778,6 +974,20 @@ "lib/netstandard1.5/NLog.dll": {} } }, + "NLog.Extensions.Logging/1.0.0-rtm-alpha5": { + "type": "package", + "dependencies": { + "Microsoft.AspNetCore.Hosting": "1.0.0", + "Microsoft.Extensions.Logging.Abstractions": "1.0.0", + "NLog": "5.0.0-beta03" + }, + "compile": { + "lib/netstandard1.3/NLog.Extensions.Logging.dll": {} + }, + "runtime": { + "lib/netstandard1.3/NLog.Extensions.Logging.dll": {} + } + }, "NSubstitute/2.0.0-alpha003": { "type": "package", "dependencies": { @@ -3064,10 +3274,12 @@ "type": "project", "framework": ".NETStandard,Version=v1.3", "dependencies": { + "Microsoft.AspNetCore.Hosting": "1.0.0", "Microsoft.AspNetCore.Hosting.Abstractions": "1.0.0", "Microsoft.AspNetCore.Http.Extensions": "1.0.0", "Microsoft.AspNetCore.Routing.Abstractions": "1.0.0", - "NLog": "5.0.0-beta04" + "NLog": "5.0.0-beta04", + "NLog.Extensions.Logging": "1.0.0-rtm-alpha5" }, "compile": { "netstandard1.3/NLog.Web.AspNetCore.dll": {} @@ -3134,6 +3346,19 @@ "runtimes/win7-x86/native/libuv.dll" ] }, + "Microsoft.AspNetCore.Hosting/1.0.0": { + "sha512": "0M7ZRAxTmGHOQV3B5Lm30VBg33uxxkPIKAxMc/C9yFBMPWPfk6V1uvb2ZL5eEPlo9/MZooITyMcGBQUHiakFjg==", + "type": "package", + "path": "Microsoft.AspNetCore.Hosting/1.0.0", + "files": [ + "Microsoft.AspNetCore.Hosting.1.0.0.nupkg.sha512", + "Microsoft.AspNetCore.Hosting.nuspec", + "lib/net451/Microsoft.AspNetCore.Hosting.dll", + "lib/net451/Microsoft.AspNetCore.Hosting.xml", + "lib/netstandard1.3/Microsoft.AspNetCore.Hosting.dll", + "lib/netstandard1.3/Microsoft.AspNetCore.Hosting.xml" + ] + }, "Microsoft.AspNetCore.Hosting.Abstractions/1.0.0": { "sha512": "8r6qOl1jYyC523ZKM1QNl+6ijIoYWELWm0tpEWqtTIOg9DytHJWshB7usgqiuRmfHXM0EUziR6ouFY7iP7Tuzw==", "type": "package", @@ -3160,6 +3385,19 @@ "lib/netstandard1.3/Microsoft.AspNetCore.Hosting.Server.Abstractions.xml" ] }, + "Microsoft.AspNetCore.Http/1.0.0": { + "sha512": "c/+eWVWQ8fX5hBHhL1BY4k2n4kVyUnqJLSCj0sTTXwRTU6IKoGbTOUqHT9as8C71Vk54YpAsi/VPmGW7T/ap3A==", + "type": "package", + "path": "Microsoft.AspNetCore.Http/1.0.0", + "files": [ + "Microsoft.AspNetCore.Http.1.0.0.nupkg.sha512", + "Microsoft.AspNetCore.Http.nuspec", + "lib/net451/Microsoft.AspNetCore.Http.dll", + "lib/net451/Microsoft.AspNetCore.Http.xml", + "lib/netstandard1.3/Microsoft.AspNetCore.Http.dll", + "lib/netstandard1.3/Microsoft.AspNetCore.Http.xml" + ] + }, "Microsoft.AspNetCore.Http.Abstractions/1.0.0": { "sha512": "OJHlqdJOWKKBfsiVdX4Z4KCNuqvBIu6+1MVKuejRDyHnGyMkNHNoP/dtVzhPqvJXaJg9N4HlD0XNc6GDCFVffg==", "type": "package", @@ -3212,6 +3450,19 @@ "lib/netstandard1.3/Microsoft.AspNetCore.Routing.Abstractions.xml" ] }, + "Microsoft.AspNetCore.WebUtilities/1.0.0": { + "sha512": "D0licSnS1JgqQ/gYlN41wXbeYG3dFIdjY781YzMHZ5gBB7kczacshW+H6plZkXRr/cCnAJWGa31o1R8c5GEy/A==", + "type": "package", + "path": "Microsoft.AspNetCore.WebUtilities/1.0.0", + "files": [ + "Microsoft.AspNetCore.WebUtilities.1.0.0.nupkg.sha512", + "Microsoft.AspNetCore.WebUtilities.nuspec", + "lib/net451/Microsoft.AspNetCore.WebUtilities.dll", + "lib/net451/Microsoft.AspNetCore.WebUtilities.xml", + "lib/netstandard1.3/Microsoft.AspNetCore.WebUtilities.dll", + "lib/netstandard1.3/Microsoft.AspNetCore.WebUtilities.xml" + ] + }, "Microsoft.CodeAnalysis.Analyzers/1.1.0": { "sha512": "HS3iRWZKcUw/8eZ/08GXKY2Bn7xNzQPzf8gRPHGSowX7u7XXu9i9YEaBeBNKUXWfI7qjvT2zXtLUvbN0hds8vg==", "type": "package", @@ -3385,6 +3636,17 @@ "lib/netstandard1.6/Microsoft.DotNet.ProjectModel.dll" ] }, + "Microsoft.Extensions.Configuration/1.0.0": { + "sha512": "hR4yYebruRp6qyFnV3RW4qrnEb0J1LnMmQbj50AUA423V8dMs4E3YAohsyRyGBFnpbJ+KKzieSG/n2A6T0klZQ==", + "type": "package", + "path": "Microsoft.Extensions.Configuration/1.0.0", + "files": [ + "Microsoft.Extensions.Configuration.1.0.0.nupkg.sha512", + "Microsoft.Extensions.Configuration.nuspec", + "lib/netstandard1.1/Microsoft.Extensions.Configuration.dll", + "lib/netstandard1.1/Microsoft.Extensions.Configuration.xml" + ] + }, "Microsoft.Extensions.Configuration.Abstractions/1.0.0": { "sha512": "nJ+Et/rnDMDmGhxvFAKdN3va7y+YDPICv1nUEP8I4IKgOkWwr/dCZHMqxVhJFrkbW9ux8Kd7erC4mvxfZh0WnA==", "type": "package", @@ -3396,6 +3658,30 @@ "lib/netstandard1.0/Microsoft.Extensions.Configuration.Abstractions.xml" ] }, + "Microsoft.Extensions.Configuration.EnvironmentVariables/1.0.0": { + "sha512": "A0yqS98VtPNlFkFI7YBlwkAekUHE/9mMeNc+K4RmgTjCrskuk6pX3LGhDU7aD5CPYc9Px7M2To/2u4xDSnRikg==", + "type": "package", + "path": "Microsoft.Extensions.Configuration.EnvironmentVariables/1.0.0", + "files": [ + "Microsoft.Extensions.Configuration.EnvironmentVariables.1.0.0.nupkg.sha512", + "Microsoft.Extensions.Configuration.EnvironmentVariables.nuspec", + "lib/net451/Microsoft.Extensions.Configuration.EnvironmentVariables.dll", + "lib/net451/Microsoft.Extensions.Configuration.EnvironmentVariables.xml", + "lib/netstandard1.3/Microsoft.Extensions.Configuration.EnvironmentVariables.dll", + "lib/netstandard1.3/Microsoft.Extensions.Configuration.EnvironmentVariables.xml" + ] + }, + "Microsoft.Extensions.DependencyInjection/1.0.0": { + "sha512": "zdtkiZNV6LB8xtpmfyUjP/9N9ZCL/ydQ+0bfjun38fbrk+MDEm9M2yeLzRdq+OIt5xExw/KU04wFaVwJ1bhQPg==", + "type": "package", + "path": "Microsoft.Extensions.DependencyInjection/1.0.0", + "files": [ + "Microsoft.Extensions.DependencyInjection.1.0.0.nupkg.sha512", + "Microsoft.Extensions.DependencyInjection.nuspec", + "lib/netstandard1.1/Microsoft.Extensions.DependencyInjection.dll", + "lib/netstandard1.1/Microsoft.Extensions.DependencyInjection.xml" + ] + }, "Microsoft.Extensions.DependencyInjection.Abstractions/1.0.0": { "sha512": "+XwaNo3o9RhLQhUnnOBCaukeRi1X9yYc0Fzye9RlErSflKZdw0VgHtn6rvKo0FTionsW0x8QVULhKH+nkqVjQA==", "type": "package", @@ -3429,6 +3715,43 @@ "lib/netstandard1.0/Microsoft.Extensions.FileProviders.Abstractions.xml" ] }, + "Microsoft.Extensions.FileProviders.Physical/1.0.0": { + "sha512": "Ej5hGWtK3xM9YU+B2O8EdlMcJf5utbDQs9ecnfvwhENQeeNU7iI2jjnRB2d7V6o9SQZmNHPzdPvaNb3PlSMz+Q==", + "type": "package", + "path": "Microsoft.Extensions.FileProviders.Physical/1.0.0", + "files": [ + "Microsoft.Extensions.FileProviders.Physical.1.0.0.nupkg.sha512", + "Microsoft.Extensions.FileProviders.Physical.nuspec", + "lib/net451/Microsoft.Extensions.FileProviders.Physical.dll", + "lib/net451/Microsoft.Extensions.FileProviders.Physical.xml", + "lib/netstandard1.3/Microsoft.Extensions.FileProviders.Physical.dll", + "lib/netstandard1.3/Microsoft.Extensions.FileProviders.Physical.xml" + ] + }, + "Microsoft.Extensions.FileSystemGlobbing/1.0.0": { + "sha512": "scXp1Y+hmhQKLe57Z7cSjsAEFtE4zSHHydkg1SpvG56nWwWQVpVcRAbRZsv1qIBR5/vNB4LA9xiOKnvKO/Halg==", + "type": "package", + "path": "Microsoft.Extensions.FileSystemGlobbing/1.0.0", + "files": [ + "Microsoft.Extensions.FileSystemGlobbing.1.0.0.nupkg.sha512", + "Microsoft.Extensions.FileSystemGlobbing.nuspec", + "lib/net451/Microsoft.Extensions.FileSystemGlobbing.dll", + "lib/net451/Microsoft.Extensions.FileSystemGlobbing.xml", + "lib/netstandard1.3/Microsoft.Extensions.FileSystemGlobbing.dll", + "lib/netstandard1.3/Microsoft.Extensions.FileSystemGlobbing.xml" + ] + }, + "Microsoft.Extensions.Logging/1.0.0": { + "sha512": "0mDuASVrd/nMeBYIJSK+9lT3TSmWxUXP/ipVB1pF1ApMN5fqGCckPTNwmOfT4Z9wPkXGnhbwFTGrxZvbzTWxOg==", + "type": "package", + "path": "Microsoft.Extensions.Logging/1.0.0", + "files": [ + "Microsoft.Extensions.Logging.1.0.0.nupkg.sha512", + "Microsoft.Extensions.Logging.nuspec", + "lib/netstandard1.1/Microsoft.Extensions.Logging.dll", + "lib/netstandard1.1/Microsoft.Extensions.Logging.xml" + ] + }, "Microsoft.Extensions.Logging.Abstractions/1.0.0": { "sha512": "wHT6oY50q36mAXBRKtFaB7u07WxKC5u2M8fi3PqHOOnHyUo9gD0u1TlCNR8UObHQxKMYwqlgI8TLcErpt29n8A==", "type": "package", @@ -3440,6 +3763,30 @@ "lib/netstandard1.1/Microsoft.Extensions.Logging.Abstractions.xml" ] }, + "Microsoft.Extensions.ObjectPool/1.0.0": { + "sha512": "BTXoWSTrv/saLlNSg8l41YOoSKeUUanQLykUqRTtiUJz2xxQOCgm4ckPzrdmSK6w0mdjR2h7IrUDGdBF78Z7yg==", + "type": "package", + "path": "Microsoft.Extensions.ObjectPool/1.0.0", + "files": [ + "Microsoft.Extensions.ObjectPool.1.0.0.nupkg.sha512", + "Microsoft.Extensions.ObjectPool.nuspec", + "lib/net451/Microsoft.Extensions.ObjectPool.dll", + "lib/net451/Microsoft.Extensions.ObjectPool.xml", + "lib/netstandard1.3/Microsoft.Extensions.ObjectPool.dll", + "lib/netstandard1.3/Microsoft.Extensions.ObjectPool.xml" + ] + }, + "Microsoft.Extensions.Options/1.0.0": { + "sha512": "SdP3yPKF++JTkoa91pBDiE70uQkR/gdXWzOnMPbSj+eOqY1vgY+b8RVl+gh7TrJ2wlCK2QqnQtvCQlPPZRK36w==", + "type": "package", + "path": "Microsoft.Extensions.Options/1.0.0", + "files": [ + "Microsoft.Extensions.Options.1.0.0.nupkg.sha512", + "Microsoft.Extensions.Options.nuspec", + "lib/netstandard1.0/Microsoft.Extensions.Options.dll", + "lib/netstandard1.0/Microsoft.Extensions.Options.xml" + ] + }, "Microsoft.Extensions.PlatformAbstractions/1.0.0": { "sha512": "zyjUzrOmuevOAJpIo3Mt5GmpALVYCVdLZ99keMbmCxxgQH7oxzU58kGHzE6hAgYEiWsdfMJLjVR7r+vSmaJmtg==", "type": "package", @@ -3767,6 +4114,17 @@ "lib/xamarinios10/NLog.xml" ] }, + "NLog.Extensions.Logging/1.0.0-rtm-alpha5": { + "sha512": "EAyWzB2J1CbsLoXyeVDZRiiJ0gmnvkssnq3M7r6DHrtkqXyowCcnqLg+na0FYWQrVLcenmoJ+Lo466GHZ7RJ4A==", + "type": "package", + "path": "NLog.Extensions.Logging/1.0.0-rtm-alpha5", + "files": [ + "NLog.Extensions.Logging.1.0.0-rtm-alpha5.nupkg.sha512", + "NLog.Extensions.Logging.nuspec", + "lib/net451/NLog.Extensions.Logging.dll", + "lib/netstandard1.3/NLog.Extensions.Logging.dll" + ] + }, "NSubstitute/2.0.0-alpha003": { "sha512": "4ij2zIMIAHIv5UyBGJtTv9ULekGKsGLikrhJHse0xMfpYBbXuZjWlCEeVbDSWbGdQzdYJl/zTtgyFFg3ZLH4+w==", "type": "package", diff --git a/NLog.Web.AspNetCore/AspNetExtensions.cs b/NLog.Web.AspNetCore/AspNetExtensions.cs index 8f4424d6..df7a329e 100644 --- a/NLog.Web.AspNetCore/AspNetExtensions.cs +++ b/NLog.Web.AspNetCore/AspNetExtensions.cs @@ -1,5 +1,13 @@ -using Microsoft.AspNetCore.Builder; +using System; +using System.IO; +using System.Reflection; +using Microsoft.AspNetCore.Builder; +using Microsoft.AspNetCore.Hosting; +using Microsoft.Extensions.Logging; +using NLog.Config; using NLog.Web.Internal; +using NLog.Extensions.Logging; + namespace NLog.Web { @@ -8,14 +16,42 @@ namespace NLog.Web /// public static class AspNetExtensions { + + /// - /// Enable NLog Web for ASP.NET 5. + /// Enable NLog Web for ASP.NET Core. /// /// public static void AddNLogWeb(this IApplicationBuilder app) { - ServiceLocator.ServiceProvider = app.ApplicationServices; + ServiceLocator.ServiceProvider = app.ApplicationServices; + } + + /// + /// Apply NLog configuration from XML config. + /// + /// + /// relative path to NLog configuration file. + /// LoggingConfiguration for chaining + public static LoggingConfiguration ConfigureNLog(this IHostingEnvironment env, string configFileRelativePath) + { + var fileName = Path.Combine(env.ContentRootPath, configFileRelativePath); + return ConfigureNLog(fileName); } + + /// + /// Apply NLog configuration from XML config. + /// + /// absolute path NLog configuration file. + /// LoggingConfiguration for chaining + private static LoggingConfiguration ConfigureNLog(string fileName) + { + var configuration = new XmlLoggingConfiguration(fileName, true); + LogManager.Configuration = configuration; + return configuration; + } + + } } diff --git a/NLog.Web.AspNetCore/project.json b/NLog.Web.AspNetCore/project.json index ffa198e9..ec3cf8ba 100644 --- a/NLog.Web.AspNetCore/project.json +++ b/NLog.Web.AspNetCore/project.json @@ -1,36 +1,38 @@ { - "version": "4.3.0", - "description": "Extend NLog with targets and layout renderers for websites and webapplications on the ASP.NET Core platform.", - "authors": [ "Julian Verdurmen" ], - "packOptions": { - "summary": "NLog for ASP.NET Core", - "tags": [ "logging", "log", "session", "NLog", "web", "aspnet", "aspnetcore" ], - "projectUrl": "https://github.com/NLog/NLog.Web", - "licenseUrl": "http://raw.github.com/NLog/NLog.Web/master/LICENSE", - "requireLicenseAcceptance": false, - "iconUrl": "http://nlog-project.org/N.png", - "repository": { - "type": "git", - "url": "git://github.com/NLog/NLog.Web" - } - }, + "version": "4.3.0", + "description": "Extend NLog with targets and layout renderers for websites and webapplications on the ASP.NET Core platform.", + "authors": [ "Julian Verdurmen" ], + "packOptions": { + "summary": "NLog for ASP.NET Core", + "tags": [ "logging", "log", "session", "NLog", "web", "aspnet", "aspnetcore" ], + "projectUrl": "https://github.com/NLog/NLog.Web", + "licenseUrl": "http://raw.github.com/NLog/NLog.Web/master/LICENSE", + "requireLicenseAcceptance": false, + "iconUrl": "http://nlog-project.org/N.png", + "repository": { + "type": "git", + "url": "git://github.com/NLog/NLog.Web" + } + }, "dependencies": { - "Microsoft.AspNetCore.Http.Extensions": "1.0.0", + "Microsoft.AspNetCore.Hosting": "1.0.0", "Microsoft.AspNetCore.Hosting.Abstractions": "1.0.0", + "Microsoft.AspNetCore.Http.Extensions": "1.0.0", "Microsoft.AspNetCore.Routing.Abstractions": "1.0.0", - "NLog": "5.0.0-beta04" + "NLog": "5.0.0-beta04", + "NLog.Extensions.Logging": "1.0.0-rtm-alpha5" }, - "title": "NLog.Web.AspNetCore", - "frameworks": { - "netstandard1.3": { }, - "net451": { } - }, - "buildOptions": { - "keyFile": "NLog.snk", - "xmlDoc": true, - "define": [ "NETSTANDARD_1plus" ] - } + "title": "NLog.Web.AspNetCore", + "frameworks": { + "netstandard1.3": {}, + "net451": {} + }, + "buildOptions": { + "keyFile": "NLog.snk", + "xmlDoc": true, + "define": [ "NETSTANDARD_1plus" ] + } } diff --git a/NLog.Web.AspNetCore/project.lock.json b/NLog.Web.AspNetCore/project.lock.json index 46858025..39c1bce9 100644 --- a/NLog.Web.AspNetCore/project.lock.json +++ b/NLog.Web.AspNetCore/project.lock.json @@ -3,6 +3,31 @@ "version": 2, "targets": { ".NETFramework,Version=v4.5.1": { + "Microsoft.AspNetCore.Hosting/1.0.0": { + "type": "package", + "dependencies": { + "Microsoft.AspNetCore.Hosting.Abstractions": "1.0.0", + "Microsoft.AspNetCore.Hosting.Server.Abstractions": "1.0.0", + "Microsoft.AspNetCore.Http": "1.0.0", + "Microsoft.AspNetCore.Http.Extensions": "1.0.0", + "Microsoft.Extensions.Configuration": "1.0.0", + "Microsoft.Extensions.Configuration.EnvironmentVariables": "1.0.0", + "Microsoft.Extensions.DependencyInjection": "1.0.0", + "Microsoft.Extensions.FileProviders.Physical": "1.0.0", + "Microsoft.Extensions.Logging": "1.0.0", + "Microsoft.Extensions.Options": "1.0.0", + "Microsoft.Extensions.PlatformAbstractions": "1.0.0", + "System.Diagnostics.DiagnosticSource": "4.0.0", + "System.Reflection.Metadata": "1.3.0", + "System.Runtime.InteropServices.RuntimeInformation": "4.0.0" + }, + "compile": { + "lib/net451/Microsoft.AspNetCore.Hosting.dll": {} + }, + "runtime": { + "lib/net451/Microsoft.AspNetCore.Hosting.dll": {} + } + }, "Microsoft.AspNetCore.Hosting.Abstractions/1.0.0": { "type": "package", "dependencies": { @@ -33,6 +58,23 @@ "lib/net451/Microsoft.AspNetCore.Hosting.Server.Abstractions.dll": {} } }, + "Microsoft.AspNetCore.Http/1.0.0": { + "type": "package", + "dependencies": { + "Microsoft.AspNetCore.Http.Abstractions": "1.0.0", + "Microsoft.AspNetCore.WebUtilities": "1.0.0", + "Microsoft.Extensions.ObjectPool": "1.0.0", + "Microsoft.Extensions.Options": "1.0.0", + "Microsoft.Net.Http.Headers": "1.0.0", + "System.Buffers": "4.0.0" + }, + "compile": { + "lib/net451/Microsoft.AspNetCore.Http.dll": {} + }, + "runtime": { + "lib/net451/Microsoft.AspNetCore.Http.dll": {} + } + }, "Microsoft.AspNetCore.Http.Abstractions/1.0.0": { "type": "package", "dependencies": { @@ -85,6 +127,39 @@ "lib/net451/Microsoft.AspNetCore.Routing.Abstractions.dll": {} } }, + "Microsoft.AspNetCore.WebUtilities/1.0.0": { + "type": "package", + "dependencies": { + "Microsoft.Extensions.Primitives": "1.0.0", + "System.Buffers": "4.0.0", + "System.Text.Encodings.Web": "4.0.0" + }, + "compile": { + "lib/net451/Microsoft.AspNetCore.WebUtilities.dll": {} + }, + "runtime": { + "lib/net451/Microsoft.AspNetCore.WebUtilities.dll": {} + } + }, + "Microsoft.Extensions.Configuration/1.0.0": { + "type": "package", + "dependencies": { + "Microsoft.Extensions.Configuration.Abstractions": "1.0.0", + "System.Collections": "4.0.11", + "System.Diagnostics.Debug": "4.0.11", + "System.IO": "4.1.0", + "System.Resources.ResourceManager": "4.0.1", + "System.Runtime.Extensions": "4.1.0", + "System.Runtime.InteropServices": "4.1.0", + "System.Threading": "4.0.11" + }, + "compile": { + "lib/netstandard1.1/Microsoft.Extensions.Configuration.dll": {} + }, + "runtime": { + "lib/netstandard1.1/Microsoft.Extensions.Configuration.dll": {} + } + }, "Microsoft.Extensions.Configuration.Abstractions/1.0.0": { "type": "package", "dependencies": { @@ -98,6 +173,35 @@ "lib/netstandard1.0/Microsoft.Extensions.Configuration.Abstractions.dll": {} } }, + "Microsoft.Extensions.Configuration.EnvironmentVariables/1.0.0": { + "type": "package", + "dependencies": { + "Microsoft.Extensions.Configuration": "1.0.0" + }, + "compile": { + "lib/net451/Microsoft.Extensions.Configuration.EnvironmentVariables.dll": {} + }, + "runtime": { + "lib/net451/Microsoft.Extensions.Configuration.EnvironmentVariables.dll": {} + } + }, + "Microsoft.Extensions.DependencyInjection/1.0.0": { + "type": "package", + "dependencies": { + "Microsoft.Extensions.DependencyInjection.Abstractions": "1.0.0", + "System.Collections": "4.0.11", + "System.Collections.Concurrent": "4.0.12", + "System.Runtime.Extensions": "4.1.0", + "System.Threading": "4.0.11", + "System.Threading.Tasks": "4.0.11" + }, + "compile": { + "lib/netstandard1.1/Microsoft.Extensions.DependencyInjection.dll": {} + }, + "runtime": { + "lib/netstandard1.1/Microsoft.Extensions.DependencyInjection.dll": {} + } + }, "Microsoft.Extensions.DependencyInjection.Abstractions/1.0.0": { "type": "package", "dependencies": { @@ -130,6 +234,42 @@ "lib/netstandard1.0/Microsoft.Extensions.FileProviders.Abstractions.dll": {} } }, + "Microsoft.Extensions.FileProviders.Physical/1.0.0": { + "type": "package", + "dependencies": { + "Microsoft.Extensions.FileProviders.Abstractions": "1.0.0", + "Microsoft.Extensions.FileSystemGlobbing": "1.0.0" + }, + "compile": { + "lib/net451/Microsoft.Extensions.FileProviders.Physical.dll": {} + }, + "runtime": { + "lib/net451/Microsoft.Extensions.FileProviders.Physical.dll": {} + } + }, + "Microsoft.Extensions.FileSystemGlobbing/1.0.0": { + "type": "package", + "compile": { + "lib/net451/Microsoft.Extensions.FileSystemGlobbing.dll": {} + }, + "runtime": { + "lib/net451/Microsoft.Extensions.FileSystemGlobbing.dll": {} + } + }, + "Microsoft.Extensions.Logging/1.0.0": { + "type": "package", + "dependencies": { + "Microsoft.Extensions.DependencyInjection.Abstractions": "1.0.0", + "Microsoft.Extensions.Logging.Abstractions": "1.0.0", + "System.Threading": "4.0.11" + }, + "compile": { + "lib/netstandard1.1/Microsoft.Extensions.Logging.dll": {} + }, + "runtime": { + "lib/netstandard1.1/Microsoft.Extensions.Logging.dll": {} + } + }, "Microsoft.Extensions.Logging.Abstractions/1.0.0": { "type": "package", "dependencies": { @@ -150,6 +290,46 @@ "lib/netstandard1.1/Microsoft.Extensions.Logging.Abstractions.dll": {} } }, + "Microsoft.Extensions.ObjectPool/1.0.0": { + "type": "package", + "compile": { + "lib/net451/Microsoft.Extensions.ObjectPool.dll": {} + }, + "runtime": { + "lib/net451/Microsoft.Extensions.ObjectPool.dll": {} + } + }, + "Microsoft.Extensions.Options/1.0.0": { + "type": "package", + "dependencies": { + "Microsoft.Extensions.DependencyInjection.Abstractions": "1.0.0", + "Microsoft.Extensions.Primitives": "1.0.0", + "System.ComponentModel": "4.0.1", + "System.Diagnostics.Debug": "4.0.11", + "System.Globalization": "4.0.11", + "System.Linq": "4.1.0", + "System.Linq.Expressions": "4.1.0", + "System.Reflection": "4.1.0", + "System.Resources.ResourceManager": "4.0.1", + "System.Runtime.Extensions": "4.1.0", + "System.Threading": "4.0.11" + }, + "compile": { + "lib/netstandard1.0/Microsoft.Extensions.Options.dll": {} + }, + "runtime": { + "lib/netstandard1.0/Microsoft.Extensions.Options.dll": {} + } + }, + "Microsoft.Extensions.PlatformAbstractions/1.0.0": { + "type": "package", + "compile": { + "lib/net451/Microsoft.Extensions.PlatformAbstractions.dll": {} + }, + "runtime": { + "lib/net451/Microsoft.Extensions.PlatformAbstractions.dll": {} + } + }, "Microsoft.Extensions.Primitives/1.0.0": { "type": "package", "dependencies": { @@ -202,6 +382,24 @@ "lib/net45/NLog.dll": {} } }, + "NLog.Extensions.Logging/1.0.0-rtm-alpha5": { + "type": "package", + "dependencies": { + "Microsoft.AspNetCore.Hosting": "1.0.0", + "Microsoft.Extensions.Logging.Abstractions": "1.0.0", + "NLog": "4.3.11" + }, + "frameworkAssemblies": [ + "System.Xml", + "System.Xml.Serialization" + ], + "compile": { + "lib/net451/NLog.Extensions.Logging.dll": {} + }, + "runtime": { + "lib/net451/NLog.Extensions.Logging.dll": {} + } + }, "System.Buffers/4.0.0": { "type": "package", "compile": { @@ -236,6 +434,15 @@ "lib/net45/_._": {} } }, + "System.Collections.Immutable/1.2.0": { + "type": "package", + "compile": { + "lib/portable-net45+win8+wp8+wpa81/System.Collections.Immutable.dll": {} + }, + "runtime": { + "lib/portable-net45+win8+wp8+wpa81/System.Collections.Immutable.dll": {} + } + }, "System.ComponentModel/4.0.1": { "type": "package", "frameworkAssemblies": [ @@ -269,6 +476,15 @@ "lib/net45/_._": {} } }, + "System.Diagnostics.DiagnosticSource/4.0.0": { + "type": "package", + "compile": { + "lib/portable-net45+win8+wpa81/System.Diagnostics.DiagnosticSource.dll": {} + }, + "runtime": { + "lib/portable-net45+win8+wpa81/System.Diagnostics.DiagnosticSource.dll": {} + } + }, "System.Globalization/4.0.11": { "type": "package", "compile": { @@ -323,6 +539,18 @@ "lib/net45/_._": {} } }, + "System.Reflection.Metadata/1.3.0": { + "type": "package", + "dependencies": { + "System.Collections.Immutable": "1.2.0" + }, + "compile": { + "lib/portable-net45+win8/System.Reflection.Metadata.dll": {} + }, + "runtime": { + "lib/portable-net45+win8/System.Reflection.Metadata.dll": {} + } + }, "System.Resources.ResourceManager/4.0.1": { "type": "package", "compile": { @@ -371,6 +599,25 @@ "lib/net45/_._": {} } }, + "System.Runtime.InteropServices.RuntimeInformation/4.0.0": { + "type": "package", + "compile": { + "ref/netstandard1.1/System.Runtime.InteropServices.RuntimeInformation.dll": {} + }, + "runtime": { + "lib/net45/System.Runtime.InteropServices.RuntimeInformation.dll": {} + }, + "runtimeTargets": { + "runtimes/unix/lib/netstandard1.1/System.Runtime.InteropServices.RuntimeInformation.dll": { + "assetType": "runtime", + "rid": "unix" + }, + "runtimes/win/lib/net45/System.Runtime.InteropServices.RuntimeInformation.dll": { + "assetType": "runtime", + "rid": "win" + } + } + }, "System.Text.Encoding/4.0.11": { "type": "package", "compile": { @@ -388,9 +635,62 @@ "runtime": { "lib/netstandard1.0/System.Text.Encodings.Web.dll": {} } + }, + "System.Threading/4.0.11": { + "type": "package", + "frameworkAssemblies": [ + "System", + "System.Core" + ], + "compile": { + "ref/net45/_._": {} + }, + "runtime": { + "lib/net45/_._": {} + } + }, + "System.Threading.Tasks/4.0.11": { + "type": "package", + "frameworkAssemblies": [ + "System.Core" + ], + "compile": { + "ref/net45/_._": {} + }, + "runtime": { + "lib/net45/_._": {} + } } }, ".NETStandard,Version=v1.3": { + "Microsoft.AspNetCore.Hosting/1.0.0": { + "type": "package", + "dependencies": { + "Microsoft.AspNetCore.Hosting.Abstractions": "1.0.0", + "Microsoft.AspNetCore.Hosting.Server.Abstractions": "1.0.0", + "Microsoft.AspNetCore.Http": "1.0.0", + "Microsoft.AspNetCore.Http.Extensions": "1.0.0", + "Microsoft.Extensions.Configuration": "1.0.0", + "Microsoft.Extensions.Configuration.EnvironmentVariables": "1.0.0", + "Microsoft.Extensions.DependencyInjection": "1.0.0", + "Microsoft.Extensions.FileProviders.Physical": "1.0.0", + "Microsoft.Extensions.Logging": "1.0.0", + "Microsoft.Extensions.Options": "1.0.0", + "Microsoft.Extensions.PlatformAbstractions": "1.0.0", + "System.Console": "4.0.0", + "System.Diagnostics.DiagnosticSource": "4.0.0", + "System.Diagnostics.StackTrace": "4.0.1", + "System.Reflection.Extensions": "4.0.1", + "System.Reflection.Metadata": "1.3.0", + "System.Runtime.InteropServices.RuntimeInformation": "4.0.0" + }, + "compile": { + "lib/netstandard1.3/Microsoft.AspNetCore.Hosting.dll": {} + }, + "runtime": { + "lib/netstandard1.3/Microsoft.AspNetCore.Hosting.dll": {} + } + }, "Microsoft.AspNetCore.Hosting.Abstractions/1.0.0": { "type": "package", "dependencies": { @@ -421,6 +721,24 @@ "lib/netstandard1.3/Microsoft.AspNetCore.Hosting.Server.Abstractions.dll": {} } }, + "Microsoft.AspNetCore.Http/1.0.0": { + "type": "package", + "dependencies": { + "Microsoft.AspNetCore.Http.Abstractions": "1.0.0", + "Microsoft.AspNetCore.WebUtilities": "1.0.0", + "Microsoft.Extensions.ObjectPool": "1.0.0", + "Microsoft.Extensions.Options": "1.0.0", + "Microsoft.Net.Http.Headers": "1.0.0", + "System.Buffers": "4.0.0", + "System.Threading": "4.0.11" + }, + "compile": { + "lib/netstandard1.3/Microsoft.AspNetCore.Http.dll": {} + }, + "runtime": { + "lib/netstandard1.3/Microsoft.AspNetCore.Http.dll": {} + } + }, "Microsoft.AspNetCore.Http.Abstractions/1.0.0": { "type": "package", "dependencies": { @@ -490,6 +808,42 @@ "lib/netstandard1.3/Microsoft.AspNetCore.Routing.Abstractions.dll": {} } }, + "Microsoft.AspNetCore.WebUtilities/1.0.0": { + "type": "package", + "dependencies": { + "Microsoft.Extensions.Primitives": "1.0.0", + "System.Buffers": "4.0.0", + "System.Collections": "4.0.11", + "System.IO": "4.1.0", + "System.IO.FileSystem": "4.0.1", + "System.Text.Encodings.Web": "4.0.0" + }, + "compile": { + "lib/netstandard1.3/Microsoft.AspNetCore.WebUtilities.dll": {} + }, + "runtime": { + "lib/netstandard1.3/Microsoft.AspNetCore.WebUtilities.dll": {} + } + }, + "Microsoft.Extensions.Configuration/1.0.0": { + "type": "package", + "dependencies": { + "Microsoft.Extensions.Configuration.Abstractions": "1.0.0", + "System.Collections": "4.0.11", + "System.Diagnostics.Debug": "4.0.11", + "System.IO": "4.1.0", + "System.Resources.ResourceManager": "4.0.1", + "System.Runtime.Extensions": "4.1.0", + "System.Runtime.InteropServices": "4.1.0", + "System.Threading": "4.0.11" + }, + "compile": { + "lib/netstandard1.1/Microsoft.Extensions.Configuration.dll": {} + }, + "runtime": { + "lib/netstandard1.1/Microsoft.Extensions.Configuration.dll": {} + } + }, "Microsoft.Extensions.Configuration.Abstractions/1.0.0": { "type": "package", "dependencies": { @@ -503,6 +857,35 @@ "lib/netstandard1.0/Microsoft.Extensions.Configuration.Abstractions.dll": {} } }, + "Microsoft.Extensions.Configuration.EnvironmentVariables/1.0.0": { + "type": "package", + "dependencies": { + "Microsoft.Extensions.Configuration": "1.0.0" + }, + "compile": { + "lib/netstandard1.3/Microsoft.Extensions.Configuration.EnvironmentVariables.dll": {} + }, + "runtime": { + "lib/netstandard1.3/Microsoft.Extensions.Configuration.EnvironmentVariables.dll": {} + } + }, + "Microsoft.Extensions.DependencyInjection/1.0.0": { + "type": "package", + "dependencies": { + "Microsoft.Extensions.DependencyInjection.Abstractions": "1.0.0", + "System.Collections": "4.0.11", + "System.Collections.Concurrent": "4.0.12", + "System.Runtime.Extensions": "4.1.0", + "System.Threading": "4.0.11", + "System.Threading.Tasks": "4.0.11" + }, + "compile": { + "lib/netstandard1.1/Microsoft.Extensions.DependencyInjection.dll": {} + }, + "runtime": { + "lib/netstandard1.1/Microsoft.Extensions.DependencyInjection.dll": {} + } + }, "Microsoft.Extensions.DependencyInjection.Abstractions/1.0.0": { "type": "package", "dependencies": { @@ -535,6 +918,54 @@ "lib/netstandard1.0/Microsoft.Extensions.FileProviders.Abstractions.dll": {} } }, + "Microsoft.Extensions.FileProviders.Physical/1.0.0": { + "type": "package", + "dependencies": { + "Microsoft.Extensions.FileProviders.Abstractions": "1.0.0", + "Microsoft.Extensions.FileSystemGlobbing": "1.0.0", + "System.Collections.Concurrent": "4.0.12", + "System.IO.FileSystem": "4.0.1", + "System.IO.FileSystem.Watcher": "4.0.0", + "System.Runtime.Extensions": "4.1.0", + "System.Threading": "4.0.11" + }, + "compile": { + "lib/netstandard1.3/Microsoft.Extensions.FileProviders.Physical.dll": {} + }, + "runtime": { + "lib/netstandard1.3/Microsoft.Extensions.FileProviders.Physical.dll": {} + } + }, + "Microsoft.Extensions.FileSystemGlobbing/1.0.0": { + "type": "package", + "dependencies": { + "System.Collections": "4.0.11", + "System.IO.FileSystem": "4.0.1", + "System.Linq": "4.1.0", + "System.Resources.ResourceManager": "4.0.1", + "System.Runtime.Extensions": "4.1.0" + }, + "compile": { + "lib/netstandard1.3/Microsoft.Extensions.FileSystemGlobbing.dll": {} + }, + "runtime": { + "lib/netstandard1.3/Microsoft.Extensions.FileSystemGlobbing.dll": {} + } + }, + "Microsoft.Extensions.Logging/1.0.0": { + "type": "package", + "dependencies": { + "Microsoft.Extensions.DependencyInjection.Abstractions": "1.0.0", + "Microsoft.Extensions.Logging.Abstractions": "1.0.0", + "System.Threading": "4.0.11" + }, + "compile": { + "lib/netstandard1.1/Microsoft.Extensions.Logging.dll": {} + }, + "runtime": { + "lib/netstandard1.1/Microsoft.Extensions.Logging.dll": {} + } + }, "Microsoft.Extensions.Logging.Abstractions/1.0.0": { "type": "package", "dependencies": { @@ -555,6 +986,43 @@ "lib/netstandard1.1/Microsoft.Extensions.Logging.Abstractions.dll": {} } }, + "Microsoft.Extensions.ObjectPool/1.0.0": { + "type": "package", + "dependencies": { + "System.Diagnostics.Debug": "4.0.11", + "System.Resources.ResourceManager": "4.0.1", + "System.Runtime.Extensions": "4.1.0", + "System.Threading": "4.0.11" + }, + "compile": { + "lib/netstandard1.3/Microsoft.Extensions.ObjectPool.dll": {} + }, + "runtime": { + "lib/netstandard1.3/Microsoft.Extensions.ObjectPool.dll": {} + } + }, + "Microsoft.Extensions.Options/1.0.0": { + "type": "package", + "dependencies": { + "Microsoft.Extensions.DependencyInjection.Abstractions": "1.0.0", + "Microsoft.Extensions.Primitives": "1.0.0", + "System.ComponentModel": "4.0.1", + "System.Diagnostics.Debug": "4.0.11", + "System.Globalization": "4.0.11", + "System.Linq": "4.1.0", + "System.Linq.Expressions": "4.1.0", + "System.Reflection": "4.1.0", + "System.Resources.ResourceManager": "4.0.1", + "System.Runtime.Extensions": "4.1.0", + "System.Threading": "4.0.11" + }, + "compile": { + "lib/netstandard1.0/Microsoft.Extensions.Options.dll": {} + }, + "runtime": { + "lib/netstandard1.0/Microsoft.Extensions.Options.dll": {} + } + }, "Microsoft.Extensions.PlatformAbstractions/1.0.0": { "type": "package", "dependencies": { @@ -715,6 +1183,20 @@ "lib/netstandard1.3/NLog.dll": {} } }, + "NLog.Extensions.Logging/1.0.0-rtm-alpha5": { + "type": "package", + "dependencies": { + "Microsoft.AspNetCore.Hosting": "1.0.0", + "Microsoft.Extensions.Logging.Abstractions": "1.0.0", + "NLog": "5.0.0-beta03" + }, + "compile": { + "lib/netstandard1.3/NLog.Extensions.Logging.dll": {} + }, + "runtime": { + "lib/netstandard1.3/NLog.Extensions.Logging.dll": {} + } + }, "runtime.native.System/4.0.0": { "type": "package", "dependencies": { @@ -824,7 +1306,7 @@ "System.Threading": "4.0.11" }, "compile": { - "lib/netstandard1.0/_._": {} + "lib/netstandard1.0/System.Collections.Immutable.dll": {} }, "runtime": { "lib/netstandard1.0/System.Collections.Immutable.dll": {} @@ -960,7 +1442,7 @@ "System.Threading": "4.0.11" }, "compile": { - "lib/netstandard1.3/_._": {} + "lib/netstandard1.3/System.Diagnostics.DiagnosticSource.dll": {} }, "runtime": { "lib/netstandard1.3/System.Diagnostics.DiagnosticSource.dll": {} @@ -1469,7 +1951,7 @@ "System.Threading": "4.0.11" }, "compile": { - "lib/netstandard1.1/_._": {} + "lib/netstandard1.1/System.Reflection.Metadata.dll": {} }, "runtime": { "lib/netstandard1.1/System.Reflection.Metadata.dll": {} @@ -2014,6 +2496,19 @@ } }, "libraries": { + "Microsoft.AspNetCore.Hosting/1.0.0": { + "sha512": "0M7ZRAxTmGHOQV3B5Lm30VBg33uxxkPIKAxMc/C9yFBMPWPfk6V1uvb2ZL5eEPlo9/MZooITyMcGBQUHiakFjg==", + "type": "package", + "path": "Microsoft.AspNetCore.Hosting/1.0.0", + "files": [ + "Microsoft.AspNetCore.Hosting.1.0.0.nupkg.sha512", + "Microsoft.AspNetCore.Hosting.nuspec", + "lib/net451/Microsoft.AspNetCore.Hosting.dll", + "lib/net451/Microsoft.AspNetCore.Hosting.xml", + "lib/netstandard1.3/Microsoft.AspNetCore.Hosting.dll", + "lib/netstandard1.3/Microsoft.AspNetCore.Hosting.xml" + ] + }, "Microsoft.AspNetCore.Hosting.Abstractions/1.0.0": { "sha512": "8r6qOl1jYyC523ZKM1QNl+6ijIoYWELWm0tpEWqtTIOg9DytHJWshB7usgqiuRmfHXM0EUziR6ouFY7iP7Tuzw==", "type": "package", @@ -2040,6 +2535,19 @@ "lib/netstandard1.3/Microsoft.AspNetCore.Hosting.Server.Abstractions.xml" ] }, + "Microsoft.AspNetCore.Http/1.0.0": { + "sha512": "c/+eWVWQ8fX5hBHhL1BY4k2n4kVyUnqJLSCj0sTTXwRTU6IKoGbTOUqHT9as8C71Vk54YpAsi/VPmGW7T/ap3A==", + "type": "package", + "path": "Microsoft.AspNetCore.Http/1.0.0", + "files": [ + "Microsoft.AspNetCore.Http.1.0.0.nupkg.sha512", + "Microsoft.AspNetCore.Http.nuspec", + "lib/net451/Microsoft.AspNetCore.Http.dll", + "lib/net451/Microsoft.AspNetCore.Http.xml", + "lib/netstandard1.3/Microsoft.AspNetCore.Http.dll", + "lib/netstandard1.3/Microsoft.AspNetCore.Http.xml" + ] + }, "Microsoft.AspNetCore.Http.Abstractions/1.0.0": { "sha512": "OJHlqdJOWKKBfsiVdX4Z4KCNuqvBIu6+1MVKuejRDyHnGyMkNHNoP/dtVzhPqvJXaJg9N4HlD0XNc6GDCFVffg==", "type": "package", @@ -2092,6 +2600,30 @@ "lib/netstandard1.3/Microsoft.AspNetCore.Routing.Abstractions.xml" ] }, + "Microsoft.AspNetCore.WebUtilities/1.0.0": { + "sha512": "D0licSnS1JgqQ/gYlN41wXbeYG3dFIdjY781YzMHZ5gBB7kczacshW+H6plZkXRr/cCnAJWGa31o1R8c5GEy/A==", + "type": "package", + "path": "Microsoft.AspNetCore.WebUtilities/1.0.0", + "files": [ + "Microsoft.AspNetCore.WebUtilities.1.0.0.nupkg.sha512", + "Microsoft.AspNetCore.WebUtilities.nuspec", + "lib/net451/Microsoft.AspNetCore.WebUtilities.dll", + "lib/net451/Microsoft.AspNetCore.WebUtilities.xml", + "lib/netstandard1.3/Microsoft.AspNetCore.WebUtilities.dll", + "lib/netstandard1.3/Microsoft.AspNetCore.WebUtilities.xml" + ] + }, + "Microsoft.Extensions.Configuration/1.0.0": { + "sha512": "hR4yYebruRp6qyFnV3RW4qrnEb0J1LnMmQbj50AUA423V8dMs4E3YAohsyRyGBFnpbJ+KKzieSG/n2A6T0klZQ==", + "type": "package", + "path": "Microsoft.Extensions.Configuration/1.0.0", + "files": [ + "Microsoft.Extensions.Configuration.1.0.0.nupkg.sha512", + "Microsoft.Extensions.Configuration.nuspec", + "lib/netstandard1.1/Microsoft.Extensions.Configuration.dll", + "lib/netstandard1.1/Microsoft.Extensions.Configuration.xml" + ] + }, "Microsoft.Extensions.Configuration.Abstractions/1.0.0": { "sha512": "nJ+Et/rnDMDmGhxvFAKdN3va7y+YDPICv1nUEP8I4IKgOkWwr/dCZHMqxVhJFrkbW9ux8Kd7erC4mvxfZh0WnA==", "type": "package", @@ -2103,6 +2635,30 @@ "lib/netstandard1.0/Microsoft.Extensions.Configuration.Abstractions.xml" ] }, + "Microsoft.Extensions.Configuration.EnvironmentVariables/1.0.0": { + "sha512": "A0yqS98VtPNlFkFI7YBlwkAekUHE/9mMeNc+K4RmgTjCrskuk6pX3LGhDU7aD5CPYc9Px7M2To/2u4xDSnRikg==", + "type": "package", + "path": "Microsoft.Extensions.Configuration.EnvironmentVariables/1.0.0", + "files": [ + "Microsoft.Extensions.Configuration.EnvironmentVariables.1.0.0.nupkg.sha512", + "Microsoft.Extensions.Configuration.EnvironmentVariables.nuspec", + "lib/net451/Microsoft.Extensions.Configuration.EnvironmentVariables.dll", + "lib/net451/Microsoft.Extensions.Configuration.EnvironmentVariables.xml", + "lib/netstandard1.3/Microsoft.Extensions.Configuration.EnvironmentVariables.dll", + "lib/netstandard1.3/Microsoft.Extensions.Configuration.EnvironmentVariables.xml" + ] + }, + "Microsoft.Extensions.DependencyInjection/1.0.0": { + "sha512": "zdtkiZNV6LB8xtpmfyUjP/9N9ZCL/ydQ+0bfjun38fbrk+MDEm9M2yeLzRdq+OIt5xExw/KU04wFaVwJ1bhQPg==", + "type": "package", + "path": "Microsoft.Extensions.DependencyInjection/1.0.0", + "files": [ + "Microsoft.Extensions.DependencyInjection.1.0.0.nupkg.sha512", + "Microsoft.Extensions.DependencyInjection.nuspec", + "lib/netstandard1.1/Microsoft.Extensions.DependencyInjection.dll", + "lib/netstandard1.1/Microsoft.Extensions.DependencyInjection.xml" + ] + }, "Microsoft.Extensions.DependencyInjection.Abstractions/1.0.0": { "sha512": "+XwaNo3o9RhLQhUnnOBCaukeRi1X9yYc0Fzye9RlErSflKZdw0VgHtn6rvKo0FTionsW0x8QVULhKH+nkqVjQA==", "type": "package", @@ -2125,6 +2681,43 @@ "lib/netstandard1.0/Microsoft.Extensions.FileProviders.Abstractions.xml" ] }, + "Microsoft.Extensions.FileProviders.Physical/1.0.0": { + "sha512": "Ej5hGWtK3xM9YU+B2O8EdlMcJf5utbDQs9ecnfvwhENQeeNU7iI2jjnRB2d7V6o9SQZmNHPzdPvaNb3PlSMz+Q==", + "type": "package", + "path": "Microsoft.Extensions.FileProviders.Physical/1.0.0", + "files": [ + "Microsoft.Extensions.FileProviders.Physical.1.0.0.nupkg.sha512", + "Microsoft.Extensions.FileProviders.Physical.nuspec", + "lib/net451/Microsoft.Extensions.FileProviders.Physical.dll", + "lib/net451/Microsoft.Extensions.FileProviders.Physical.xml", + "lib/netstandard1.3/Microsoft.Extensions.FileProviders.Physical.dll", + "lib/netstandard1.3/Microsoft.Extensions.FileProviders.Physical.xml" + ] + }, + "Microsoft.Extensions.FileSystemGlobbing/1.0.0": { + "sha512": "scXp1Y+hmhQKLe57Z7cSjsAEFtE4zSHHydkg1SpvG56nWwWQVpVcRAbRZsv1qIBR5/vNB4LA9xiOKnvKO/Halg==", + "type": "package", + "path": "Microsoft.Extensions.FileSystemGlobbing/1.0.0", + "files": [ + "Microsoft.Extensions.FileSystemGlobbing.1.0.0.nupkg.sha512", + "Microsoft.Extensions.FileSystemGlobbing.nuspec", + "lib/net451/Microsoft.Extensions.FileSystemGlobbing.dll", + "lib/net451/Microsoft.Extensions.FileSystemGlobbing.xml", + "lib/netstandard1.3/Microsoft.Extensions.FileSystemGlobbing.dll", + "lib/netstandard1.3/Microsoft.Extensions.FileSystemGlobbing.xml" + ] + }, + "Microsoft.Extensions.Logging/1.0.0": { + "sha512": "0mDuASVrd/nMeBYIJSK+9lT3TSmWxUXP/ipVB1pF1ApMN5fqGCckPTNwmOfT4Z9wPkXGnhbwFTGrxZvbzTWxOg==", + "type": "package", + "path": "Microsoft.Extensions.Logging/1.0.0", + "files": [ + "Microsoft.Extensions.Logging.1.0.0.nupkg.sha512", + "Microsoft.Extensions.Logging.nuspec", + "lib/netstandard1.1/Microsoft.Extensions.Logging.dll", + "lib/netstandard1.1/Microsoft.Extensions.Logging.xml" + ] + }, "Microsoft.Extensions.Logging.Abstractions/1.0.0": { "sha512": "wHT6oY50q36mAXBRKtFaB7u07WxKC5u2M8fi3PqHOOnHyUo9gD0u1TlCNR8UObHQxKMYwqlgI8TLcErpt29n8A==", "type": "package", @@ -2136,6 +2729,30 @@ "lib/netstandard1.1/Microsoft.Extensions.Logging.Abstractions.xml" ] }, + "Microsoft.Extensions.ObjectPool/1.0.0": { + "sha512": "BTXoWSTrv/saLlNSg8l41YOoSKeUUanQLykUqRTtiUJz2xxQOCgm4ckPzrdmSK6w0mdjR2h7IrUDGdBF78Z7yg==", + "type": "package", + "path": "Microsoft.Extensions.ObjectPool/1.0.0", + "files": [ + "Microsoft.Extensions.ObjectPool.1.0.0.nupkg.sha512", + "Microsoft.Extensions.ObjectPool.nuspec", + "lib/net451/Microsoft.Extensions.ObjectPool.dll", + "lib/net451/Microsoft.Extensions.ObjectPool.xml", + "lib/netstandard1.3/Microsoft.Extensions.ObjectPool.dll", + "lib/netstandard1.3/Microsoft.Extensions.ObjectPool.xml" + ] + }, + "Microsoft.Extensions.Options/1.0.0": { + "sha512": "SdP3yPKF++JTkoa91pBDiE70uQkR/gdXWzOnMPbSj+eOqY1vgY+b8RVl+gh7TrJ2wlCK2QqnQtvCQlPPZRK36w==", + "type": "package", + "path": "Microsoft.Extensions.Options/1.0.0", + "files": [ + "Microsoft.Extensions.Options.1.0.0.nupkg.sha512", + "Microsoft.Extensions.Options.nuspec", + "lib/netstandard1.0/Microsoft.Extensions.Options.dll", + "lib/netstandard1.0/Microsoft.Extensions.Options.xml" + ] + }, "Microsoft.Extensions.PlatformAbstractions/1.0.0": { "sha512": "zyjUzrOmuevOAJpIo3Mt5GmpALVYCVdLZ99keMbmCxxgQH7oxzU58kGHzE6hAgYEiWsdfMJLjVR7r+vSmaJmtg==", "type": "package", @@ -2273,6 +2890,17 @@ "lib/xamarinios10/NLog.xml" ] }, + "NLog.Extensions.Logging/1.0.0-rtm-alpha5": { + "sha512": "EAyWzB2J1CbsLoXyeVDZRiiJ0gmnvkssnq3M7r6DHrtkqXyowCcnqLg+na0FYWQrVLcenmoJ+Lo466GHZ7RJ4A==", + "type": "package", + "path": "NLog.Extensions.Logging/1.0.0-rtm-alpha5", + "files": [ + "NLog.Extensions.Logging.1.0.0-rtm-alpha5.nupkg.sha512", + "NLog.Extensions.Logging.nuspec", + "lib/net451/NLog.Extensions.Logging.dll", + "lib/netstandard1.3/NLog.Extensions.Logging.dll" + ] + }, "runtime.native.System/4.0.0": { "sha512": "QfS/nQI7k/BLgmLrw7qm7YBoULEvgWnPI+cYsbfCVFTW8Aj+i8JhccxcFMu1RWms0YZzF+UHguNBK4Qn89e2Sg==", "type": "package", @@ -6386,6 +7014,72 @@ "runtimes/win/lib/netstandard1.3/System.Threading.Overlapped.dll" ] }, + "System.Threading.Tasks/4.0.11": { + "sha512": "k1S4Gc6IGwtHGT8188RSeGaX86Qw/wnrgNLshJvsdNUOPP9etMmo8S07c+UlOAx4K/xLuN9ivA1bD0LVurtIxQ==", + "type": "package", + "path": "System.Threading.Tasks/4.0.11", + "files": [ + "System.Threading.Tasks.4.0.11.nupkg.sha512", + "System.Threading.Tasks.nuspec", + "ThirdPartyNotices.txt", + "dotnet_library_license.txt", + "lib/MonoAndroid10/_._", + "lib/MonoTouch10/_._", + "lib/net45/_._", + "lib/portable-net45+win8+wp8+wpa81/_._", + "lib/win8/_._", + "lib/wp80/_._", + "lib/wpa81/_._", + "lib/xamarinios10/_._", + "lib/xamarinmac20/_._", + "lib/xamarintvos10/_._", + "lib/xamarinwatchos10/_._", + "ref/MonoAndroid10/_._", + "ref/MonoTouch10/_._", + "ref/net45/_._", + "ref/netcore50/System.Threading.Tasks.dll", + "ref/netcore50/System.Threading.Tasks.xml", + "ref/netcore50/de/System.Threading.Tasks.xml", + "ref/netcore50/es/System.Threading.Tasks.xml", + "ref/netcore50/fr/System.Threading.Tasks.xml", + "ref/netcore50/it/System.Threading.Tasks.xml", + "ref/netcore50/ja/System.Threading.Tasks.xml", + "ref/netcore50/ko/System.Threading.Tasks.xml", + "ref/netcore50/ru/System.Threading.Tasks.xml", + "ref/netcore50/zh-hans/System.Threading.Tasks.xml", + "ref/netcore50/zh-hant/System.Threading.Tasks.xml", + "ref/netstandard1.0/System.Threading.Tasks.dll", + "ref/netstandard1.0/System.Threading.Tasks.xml", + "ref/netstandard1.0/de/System.Threading.Tasks.xml", + "ref/netstandard1.0/es/System.Threading.Tasks.xml", + "ref/netstandard1.0/fr/System.Threading.Tasks.xml", + "ref/netstandard1.0/it/System.Threading.Tasks.xml", + "ref/netstandard1.0/ja/System.Threading.Tasks.xml", + "ref/netstandard1.0/ko/System.Threading.Tasks.xml", + "ref/netstandard1.0/ru/System.Threading.Tasks.xml", + "ref/netstandard1.0/zh-hans/System.Threading.Tasks.xml", + "ref/netstandard1.0/zh-hant/System.Threading.Tasks.xml", + "ref/netstandard1.3/System.Threading.Tasks.dll", + "ref/netstandard1.3/System.Threading.Tasks.xml", + "ref/netstandard1.3/de/System.Threading.Tasks.xml", + "ref/netstandard1.3/es/System.Threading.Tasks.xml", + "ref/netstandard1.3/fr/System.Threading.Tasks.xml", + "ref/netstandard1.3/it/System.Threading.Tasks.xml", + "ref/netstandard1.3/ja/System.Threading.Tasks.xml", + "ref/netstandard1.3/ko/System.Threading.Tasks.xml", + "ref/netstandard1.3/ru/System.Threading.Tasks.xml", + "ref/netstandard1.3/zh-hans/System.Threading.Tasks.xml", + "ref/netstandard1.3/zh-hant/System.Threading.Tasks.xml", + "ref/portable-net45+win8+wp8+wpa81/_._", + "ref/win8/_._", + "ref/wp80/_._", + "ref/wpa81/_._", + "ref/xamarinios10/_._", + "ref/xamarinmac20/_._", + "ref/xamarintvos10/_._", + "ref/xamarinwatchos10/_._" + ] + }, "System.Threading.Tasks/4.3.0": { "sha512": "LbSxKEdOUhVe8BezB/9uOGGppt+nZf6e1VFyw6v3DN6lqitm0OSn2uXMOdtP0M3W4iMcqcivm2J6UgqiwwnXiA==", "type": "package", @@ -6774,10 +7468,12 @@ }, "projectFileDependencyGroups": { "": [ + "Microsoft.AspNetCore.Hosting >= 1.0.0", "Microsoft.AspNetCore.Hosting.Abstractions >= 1.0.0", "Microsoft.AspNetCore.Http.Extensions >= 1.0.0", "Microsoft.AspNetCore.Routing.Abstractions >= 1.0.0", - "NLog >= 5.0.0-beta04" + "NLog >= 5.0.0-beta04", + "NLog.Extensions.Logging >= 1.0.0-rtm-alpha5" ], ".NETFramework,Version=v4.5.1": [], ".NETStandard,Version=v1.3": []