mirror of
https://github.com/collinbarrett/FilterLists.git
synced 2026-03-11 09:04:27 +00:00
Revert "refacotr(logging): 🔥 rm now unused ConfigurationBuilder"
This reverts commit f22a1d1e8d.
This commit is contained in:
parent
f22a1d1e8d
commit
0bae0a21e0
1 changed files with 16 additions and 0 deletions
|
|
@ -0,0 +1,16 @@
|
|||
using Serilog;
|
||||
using Serilog.Events;
|
||||
|
||||
namespace FilterLists.SharedKernel.Logging
|
||||
{
|
||||
internal static class ConfigurationBuilder
|
||||
{
|
||||
public static readonly LoggerConfiguration BaseLoggerConfiguration =
|
||||
new LoggerConfiguration()
|
||||
.MinimumLevel.Debug()
|
||||
.MinimumLevel.Override("Microsoft", LogEventLevel.Information)
|
||||
.MinimumLevel.Override("Microsoft.AspNetCore", LogEventLevel.Warning)
|
||||
.Enrich.FromLogContext()
|
||||
.WriteTo.Console();
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue