[성현모] 패키지설치, DI 패턴 적용.

This commit is contained in:
SHM
2026-03-09 11:02:41 +09:00
parent 0b476f4072
commit 2c2c94f6fa
13 changed files with 88 additions and 31 deletions

View File

@ -0,0 +1,79 @@
{
"ConsoleEnable": true,
"FileOutputEnable": true,
"TimeStampEnable": true,
"ThreadIdEnable": true,
"AutoRemoveEnable": true,
"OutputFilePath": "/log",
"TimeStampForamt": "yyyy-MM-dd HH:mm:ss.fff",
"AutoRemoveIntervalDay": 10,
"LogLevel": "Debug",
"LogDefines": [
{
"LogLevel": "DEFAULT",
"LogLabel": "default",
"ForeColorRGB": "#fbebd2"
},
{
"LogLevel": "Debug",
"LogLabel": "Debug",
"ForeColorRGB": "#148CFF"
},
{
"LogLevel": "Debug",
"LogLabel": "Db",
"ForeColorRGB": "#46BEFF"
},
{
"LogLevel": "Debug",
"LogLabel": "HTTP",
"ForeColorRGB": "#6E6EFF"
},
{
"LogLevel": "Debug",
"LogLabel": "CONTROLLER",
"ForeColorRGB": "#B4B4FF"
},
{
"LogLevel": "Debug",
"LogLabel": "SOCKET",
"ForeColorRGB": "#5A78AF"
},
{
"LogLevel": "Information",
"LogLabel": "Information",
"ForeColorRGB": "22;198;12"
},
{
"LogLevel": "Information",
"LogLabel": "INFO",
"ForeColorRGB": "#419B4F"
},
{
"LogLevel": "Warning",
"LogLabel": "Warning",
"ForeColorRGB": "#E1B002"
},
{
"LogLevel": "Error",
"LogLabel": "Error",
"ForeColorRGB": "#ff0000"
},
{
"LogLevel": "Error",
"LogLabel": "Exception",
"ForeColorRGB": "255;123;123"
},
{
"LogLevel": "Critical",
"LogLabel": "Critical",
"ForeColorRGB": "#a70000"
},
{
"LogLevel": "Critical",
"LogLabel": "Fatal",
"ForeColorRGB": "#FF6347"
}
]
}

View File

@ -7,18 +7,15 @@
</PropertyGroup>
<ItemGroup>
<Reference Include="Microsoft.Extensions.Logging">
<HintPath>..\DLL\Microsoft.Extensions.Logging.dll</HintPath>
</Reference>
<Reference Include="Microsoft.Extensions.Logging.Abstractions">
<HintPath>..\DLL\Microsoft.Extensions.Logging.Abstractions.dll</HintPath>
</Reference>
<Reference Include="Newtonsoft.Json">
<HintPath>..\DLL\Newtonsoft.Json.dll</HintPath>
</Reference>
<Reference Include="SystemX.Core">
<HintPath>..\DLL\SystemX.Core.dll</HintPath>
</Reference>
</ItemGroup>
<ItemGroup>
<None Update="Config\LogXnetConfig.json">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
</ItemGroup>
</Project>