On my WebUI project startUp.cs class i have
public Startup()
{
Log.Logger = new LoggerConfiguration()
.WriteTo.Console()
.CreateLogger();
}
and in my class library project sample.cs class i am calling
Log.Logger.Information("This will be written to the rolling file set");
the both using serilog and class library has webUI reference but nothing happens.
Any ideas?