Skip to content

Commit d9add52

Browse files
authored
Explicitly qualify Serilog types in crefs
1 parent 1772bae commit d9add52

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

src/Serilog.AspNetCore/SerilogWebHostBuilderExtensions.cs

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
using Microsoft.Extensions.DependencyInjection;
1717
using Microsoft.AspNetCore.Hosting;
1818
using Microsoft.Extensions.Logging;
19-
using Serilog.Core;
2019
using Serilog.Extensions.Hosting;
2120
using Serilog.Extensions.Logging;
2221

@@ -33,8 +32,8 @@ public static class SerilogWebHostBuilderExtensions
3332
/// <param name="builder">The web host builder to configure.</param>
3433
/// <param name="logger">The Serilog logger; if not supplied, the static <see cref="Serilog.Log"/> will be used.</param>
3534
/// <param name="dispose">When true, dispose <paramref name="logger"/> when the framework disposes the provider. If the
36-
/// logger is not specified but <paramref name="dispose"/> is true, the <see cref="Log.CloseAndFlush()"/> method will be
37-
/// 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>
3837
/// <param name="providers">A <see cref="LoggerProviderCollection"/> registered in the Serilog pipeline using the
3938
/// <c>WriteTo.Providers()</c> configuration method, enabling other <see cref="ILoggerProvider"/>s to receive events. By
4039
/// default, only Serilog sinks will receive events.</param>
@@ -78,8 +77,8 @@ public static IWebHostBuilder UseSerilog(
7877
/// The logger will be shut down when application services are disposed.
7978
/// </remarks>
8079
/// <param name="builder">The web host builder to configure.</param>
81-
/// <param name="configureLogger">The delegate for configuring the <see cref="LoggerConfiguration" /> that will be used to construct a <see cref="Logger" />.</param>
82-
/// <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>
8382
/// <param name="writeToProviders">By default, Serilog does not write events to <see cref="ILoggerProvider"/>s registered through
8483
/// the Microsoft.Extensions.Logging API. Normally, equivalent Serilog sinks are used in place of providers. Specify
8584
/// <c>true</c> to write events to all providers.</param>

0 commit comments

Comments
 (0)