휴가 신청 삭제시 로그파일에 기록되도록 함
This commit is contained in:
@@ -36,6 +36,9 @@
|
||||
<Prefer32Bit>false</Prefer32Bit>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="ArLog.Net4">
|
||||
<HintPath>..\..\DLL\ArLog.Net4.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="ArSetting.Net4">
|
||||
<HintPath>..\..\DLL\ArSetting.Net4.dll</HintPath>
|
||||
</Reference>
|
||||
@@ -182,6 +185,7 @@
|
||||
<Compile Include="Models\UserGroupModel.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
<Compile Include="Info.cs" />
|
||||
<Compile Include="Pub.cs" />
|
||||
<Compile Include="Setting.cs" />
|
||||
<Compile Include="Util_Form.cs" />
|
||||
<Compile Include="Util.cs" />
|
||||
|
||||
45
SubProject/FCOMMON/Pub.cs
Normal file
45
SubProject/FCOMMON/Pub.cs
Normal file
@@ -0,0 +1,45 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Management;
|
||||
using System.Threading.Tasks;
|
||||
using System.Net.NetworkInformation;
|
||||
using System.Net;
|
||||
using System.Data.SqlClient;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace FCOMMON
|
||||
{
|
||||
public static class Pub
|
||||
{
|
||||
public static arUtil.Log log; //global logging system
|
||||
|
||||
|
||||
public static void init()
|
||||
{
|
||||
|
||||
//log
|
||||
log = new arUtil.Log();
|
||||
|
||||
}
|
||||
public static void AddLogE(string message)
|
||||
{
|
||||
log.AddE(message);
|
||||
}
|
||||
public static void AddLogI(string message)
|
||||
{
|
||||
log.AddI(message);
|
||||
}
|
||||
public static void AddLog(string message)
|
||||
{
|
||||
log.Add(message);
|
||||
}
|
||||
public static void FlushLog()
|
||||
{
|
||||
log.Flush();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user