Enriching serilog logs with Session throws ‘Session has not been configured for this application or request.’ error
When creating a Serilog ILogEventEnricher everything works fine until I try to access session. Doing so throws the following error:
When creating a Serilog ILogEventEnricher everything works fine until I try to access session. Doing so throws the following error: