We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ffcfe32 commit ddb885eCopy full SHA for ddb885e
src/Serilog.Extensions.Hosting/SerilogHostBuilderExtensions.cs
@@ -1,4 +1,4 @@
1
-// Copyright 2020 Serilog Contributors
+// Copyright 2020 Serilog Contributors
2
//
3
// Licensed under the Apache License, Version 2.0 (the "License");
4
// you may not use this file except in compliance with the License.
@@ -188,8 +188,10 @@ public static IHostBuilder UseSerilog(
188
return factory;
189
});
190
191
+ // Null is passed here because we've already (lazily) registered `ILogger`
192
ConfigureServices(collection, null);
193
194
+
195
return builder;
196
}
197
0 commit comments