KestrunHttpMiddlewareExtensions.AddCommonAccessLog method (1 of 2)
Adds Apache-style common access logging using CommonAccessLogMiddleware.
public static KestrunHost AddCommonAccessLog(this KestrunHost host,
Action<CommonAccessLogOptions>? configure = null)
| parameter | description |
|---|---|
| host | The KestrunHost instance to configure. |
| configure | Optional delegate to configure CommonAccessLogOptions. |
Return Value
The configured KestrunHost instance.
See Also
- class KestrunHost
- class CommonAccessLogOptions
- class KestrunHttpMiddlewareExtensions
- namespace Kestrun.Hosting
KestrunHttpMiddlewareExtensions.AddCommonAccessLog method (2 of 2)
Adds Apache-style common access logging using a configured CommonAccessLogOptions instance.
public static KestrunHost AddCommonAccessLog(this KestrunHost host,
CommonAccessLogOptions configure)
| parameter | description |
|---|---|
| host | The KestrunHost instance to configure. |
| configure | Optional pre-configured CommonAccessLogOptions instance. |
Return Value
The configured KestrunHost instance.
See Also
- class KestrunHost
- class CommonAccessLogOptions
- class KestrunHttpMiddlewareExtensions
- namespace Kestrun.Hosting