Use type's namespace instead of assembly FullName

This commit is contained in:
Kristian Hellang 2016-04-27 10:05:20 +02:00 committed by Mike Harder
parent 75adbc18a2
commit 8a9840216c
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel
Options = options.Value ?? new KestrelServerOptions();
_applicationLifetime = applicationLifetime;
_logger = loggerFactory.CreateLogger(typeof(KestrelServer).GetTypeInfo().Assembly.FullName);
_logger = loggerFactory.CreateLogger(typeof(KestrelServer).GetTypeInfo().Namespace);
Features = new FeatureCollection();
var componentFactory = new HttpComponentFactory(Options);
Features.Set<IHttpComponentFactory>(componentFactory);