You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/Serilog.AspNetCore/SerilogWebHostBuilderExtensions.cs
+7-7Lines changed: 7 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
// Copyright 2017-2019 Serilog Contributors
1
+
// Copyright 2017-2019 Serilog Contributors
2
2
//
3
3
// Licensed under the Apache License, Version 2.0 (the "License");
4
4
// you may not use this file except in compliance with the License.
@@ -13,11 +13,11 @@
13
13
// limitations under the License.
14
14
15
15
usingSystem;
16
+
usingMicrosoft.Extensions.DependencyInjection;
16
17
usingMicrosoft.AspNetCore.Hosting;
17
18
usingMicrosoft.Extensions.Logging;
18
-
usingSerilog.Extensions.Logging;
19
-
usingMicrosoft.Extensions.DependencyInjection;
20
19
usingSerilog.Extensions.Hosting;
20
+
usingSerilog.Extensions.Logging;
21
21
22
22
namespaceSerilog
23
23
{
@@ -32,8 +32,8 @@ public static class SerilogWebHostBuilderExtensions
32
32
/// <param name="builder">The web host builder to configure.</param>
33
33
/// <param name="logger">The Serilog logger; if not supplied, the static <see cref="Serilog.Log"/> will be used.</param>
34
34
/// <param name="dispose">When true, dispose <paramref name="logger"/> when the framework disposes the provider. If the
35
-
/// logger is not specified but <paramref name="dispose"/> is true, the <see cref="Log.CloseAndFlush()"/> method will be
36
-
/// called on the static <see cref="Log"/> class instead.</param>
35
+
/// logger is not specified but <paramref name="dispose"/> is true, the <see cref="Serilog.Log.CloseAndFlush()"/> method will be
36
+
/// called on the static <see cref="Serilog.Log"/> class instead.</param>
37
37
/// <param name="providers">A <see cref="LoggerProviderCollection"/> registered in the Serilog pipeline using the
38
38
/// <c>WriteTo.Providers()</c> configuration method, enabling other <see cref="ILoggerProvider"/>s to receive events. By
39
39
/// default, only Serilog sinks will receive events.</param>
@@ -77,8 +77,8 @@ public static IWebHostBuilder UseSerilog(
77
77
/// The logger will be shut down when application services are disposed.
78
78
/// </remarks>
79
79
/// <param name="builder">The web host builder to configure.</param>
80
-
/// <param name="configureLogger">The delegate for configuring the <see cref="LoggerConfiguration" /> that will be used to construct a <see cref="Logger" />.</param>
81
-
/// <param name="preserveStaticLogger">Indicates whether to preserve the value of <see cref="Log.Logger"/>.</param>
80
+
/// <param name="configureLogger">The delegate for configuring the <see cref="LoggerConfiguration" /> that will be used to construct a <see cref="Serilog.Core.Logger" />.</param>
81
+
/// <param name="preserveStaticLogger">Indicates whether to preserve the value of <see cref="Serilog.Log.Logger"/>.</param>
82
82
/// <param name="writeToProviders">By default, Serilog does not write events to <see cref="ILoggerProvider"/>s registered through
83
83
/// the Microsoft.Extensions.Logging API. Normally, equivalent Serilog sinks are used in place of providers. Specify
84
84
/// <c>true</c> to write events to all providers.</param>
0 commit comments