SerilogHostBuilderExtensions.

UseSerilog(IConventionHostBuilder, RocketSerilogOptions) Method

Summary

Uses the serilog.

Syntax

public static IConventionHostBuilder UseSerilog(this IConventionHostBuilder container, RocketSerilogOptions options = null)

Parameters

Name Type Description
container IConventionHostBuilder The container.
options RocketSerilogOptions The options.

Return Value

Type Description
IConventionHostBuilder IConventionHostBuilder.