Using NLog for Blazor Server Side

Viewed 780

I am trying to use NLog on my project and following these steps I wonder how I could define the NLog lines in my Program.cs because there are no Main() and CreateHostBuilder() for Blazor server side.

Hope anyone can point me to right direction. Thanks.

1 Answers

Found it! It is

builder.Host.UseNLog();
Related