[성현모] Log4net 기능 추가
This commit is contained in:
@ -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();
|
||||
|
||||
Reference in New Issue
Block a user