Skip to content

Commit ddb885e

Browse files
authored
Added comment
1 parent ffcfe32 commit ddb885e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/Serilog.Extensions.Hosting/SerilogHostBuilderExtensions.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2020 Serilog Contributors
1+
// Copyright 2020 Serilog Contributors
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.
@@ -188,8 +188,10 @@ public static IHostBuilder UseSerilog(
188188
return factory;
189189
});
190190

191+
// Null is passed here because we've already (lazily) registered `ILogger`
191192
ConfigureServices(collection, null);
192193
});
194+
193195
return builder;
194196
}
195197

0 commit comments

Comments
 (0)