question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

UseSerilogRequestLogging is not present in the Nuget package v2.1.1

See original GitHub issue

I have looked at your samples where you demonstrate the use of app.UseSerilogRequestLogging(); although it uses the Serilog.AspNetCore project directly. As soon as you use the Nuget package it can no longer find the extension method.

Can you please verify that the extension method is correctly built into your nuget package please?

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

4reactions
StefanFrederiksencommented, Jul 17, 2019

Alright, the readme states it like it’s available for use now, which is a bit confusing. Maybe this could use some clarification so other people don’t stumble into the same misunderstanding.

3reactions
nblumhardtcommented, Jul 19, 2019

@StefanFrederiksen I’ve made some subtle README tweaks that should help with this

Read more comments on GitHub >

github_iconTop Results From Across the Web

Reducing log verbosity with Serilog RequestLogging
In this post I describe how you can use Serilog.AspNetCore to reduce the number of logs generated by every request in ASP.NET Core...
Read more >
serilog-aspnetcore/ at dev
This package routes ASP.NET Core log messages through Serilog, so you can get information about ASP.NET's internal operations written to the same Serilog...
Read more >
Can't install NuGet package Serilog.Sinks.
Hi this worked for me nugget install Serilog.Sinks.
Read more >
Setting up Serilog in ASP.NET Core 3
I tend not to want request logging for static files, so I add UseSerilogRequestLogging() later in the pipeline, as shown above. The resulting ......
Read more >
Serilog.Extensions.Logging 7.0.0
NET Core 1.0, 1.1 and Default Provider Integration. The package implements AddSerilog() on ILoggingBuilder and ILoggerFactory to enable the Serilog provider ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found