[성현모] 패키지설치, DI 패턴 적용.
This commit is contained in:
79
eCIAv2.Library/Config/LogXnetConfig.json
Normal file
79
eCIAv2.Library/Config/LogXnetConfig.json
Normal 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"
|
||||
}
|
||||
]
|
||||
}
|
||||
@ -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>
|
||||
|
||||
Reference in New Issue
Block a user