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
Serilog logging for Microsoft.Extensions.Hosting . This package routes Microsoft.Extensions.Hosting log messages through Serilog, so you can get information about the framework's internal operations logged to the same Serilog sinks as your application events.
/// <summary>Sets Serilog as the logging provider.</summary>
45
+
/// <summary>
46
+
/// Sets Serilog as the logging provider.
47
+
/// </summary>
46
48
/// <remarks>
47
49
/// A <see cref="HostBuilderContext"/> is supplied so that configuration and hosting information can be used.
48
50
/// The logger will be shut down when application services are disposed.
49
51
/// </remarks>
50
52
/// <param name="builder">The host builder to configure.</param>
51
53
/// <param name="configureLogger">The delegate for configuring the <see cref="LoggerConfiguration" /> that will be used to construct a <see cref="Logger" />.</param>
52
54
/// <param name="preserveStaticLogger">Indicates whether to preserve the value of <see cref="Log.Logger"/>.</param>
0 commit comments