BlazorExtensions / Logging

Microsoft Extension Logging implementation for Blazor
MIT License
216 stars 31 forks source link

AddBrowserConsole() causes circular dependency in server-side blazor #66

Open Dancpaz opened 3 years ago

Dancpaz commented 3 years ago

Environment:

Steps to reproduce:

  1. Create a new server-side Blazor project.
  2. Install the Blazor.Extensions.Logging package.
  3. In Startup.ConfigureServices, create your call to services.AddLogging, including a call to AddBrowserConsole.
  4. Run the application.

What should happen: The application starts without problems.

What actually happens: The DI engine throws an exception because of a circular dependence issue involving IJSRuntime, preventing the application from starting.

mkuzminski commented 1 year ago

Is there an update on this? Or have you moved on to another logging package? If so, which one?

jwboon-vconsyst commented 11 months ago

Having the same issue with Blazor Server using version 2.0.4

bootzin commented 3 weeks ago

Still not fixed