chore(debug): set minlevel for DEBUG config
This commit is contained in:
parent
d9c6034aa0
commit
fe4701c1bf
|
@ -10,6 +10,9 @@ using Serilog;
|
|||
Log.Logger = new LoggerConfiguration()
|
||||
.WriteTo.Console()
|
||||
.WriteTo.File("logs/latest.log", rollingInterval: RollingInterval.Day)
|
||||
#if DEBUG
|
||||
.MinimumLevel.Debug()
|
||||
#endif
|
||||
.CreateLogger();
|
||||
|
||||
WebApplicationBuilder builder = WebApplication.CreateBuilder(args);
|
||||
|
|
Loading…
Reference in New Issue