SerilogHostingConvention.

SerilogHostingConvention(IConventionScanner, ILogger, RocketSerilogOptions) Constructor

Summary

Initializes a new instance of the SerilogHostingConvention class.

Syntax

public SerilogHostingConvention(IConventionScanner scanner, ILogger diagnosticSource, RocketSerilogOptions options = null)

Parameters

Name Type Description
scanner IConventionScanner The scanner.
diagnosticSource ILogger The diagnostic source.
options RocketSerilogOptions The options.

Return Value

Type Description
void