Summary
Initializes a new instance of the
SerilogHostingConvention class.
- Assembly
- Rocket
.Surgery .Hosting .Serilog .dll - Namespace
- Rocket
.Surgery .Hosting .Serilog .Conventions - Containing Type
- Serilog
Hosting Convention
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 |
