denis-peshkov / Serilog.Enrichers.HttpContext

MIT License
0 stars 0 forks source link

Why Enricher.ClientInfo? #3

Closed mivandoni closed 3 months ago

mivandoni commented 3 months ago

In using section you add "Serilog.Enrichers.ClientInfo" but when I load the applicaction it says Could not load file or assembly 'Serilog.Enrichers.ClientInfo, Culture=neutral, PublicKeyToken=null'. Do I need to add this enricher too?

UrsKroell commented 3 months ago

That's an error in the documentation. The correct line is:

"Using": [ "Serilog.Enrichers.HttpContext" ],