[성현모] Log4net 기능 추가

This commit is contained in:
SHM
2025-04-18 09:35:52 +09:00
parent 25be83359b
commit babdb4732b
9 changed files with 355 additions and 0 deletions

View File

@ -1,3 +1,5 @@
using SystemX.Core.Log4net;
var builder = WebApplication.CreateBuilder(args);
// Add services to the container.
@ -16,6 +18,9 @@ if (app.Environment.IsDevelopment())
app.UseSwaggerUI();
}
Log4net.WriteLine("Run");
Log4net.WriteLine("Custom LogLevel",LogType.DB);
app.UseHttpsRedirection();
app.UseAuthorization();