CommonAccessLogOptions.Logger property
Gets or sets the Serilog logger used to emit access log entries. When not specified the middleware will use the application logger registered in dependency injection.
public ILogger? Logger { get; set; }
See Also
- class CommonAccessLogOptions
- namespace Kestrun.Middleware