title: How to implement logging in blazor (Server side - 3.1)
body: <p>How to implement logging in blazor</p>
  
  <p>I’m using Blazor (3.1) Server approach</p>
  
  <p>I want to log (to a file) some events</p>
  
  <p>I have try this extension: <a href="https://github.com/BlazorExtensions/Logging" rel="nofollow noreferrer">https://github.com/BlazorExtensions/Logging</a> but I can’t make it to work as it says. </p>
  
  <p>Can someone point me to a working example? Or Tell me if I’m doing something wrong (I’m getting this error with this approach: </p>
  
  <p>A circular dependency was detected for the service of type 'Microsoft.JSInterop.IJSRuntime)</p>