개정판 7298c115
ISSUE #00000 LOG4net 추가
Change-Id: Ia82223a14c10378778b001a23d582fd8a453ebcc
ID2.Manager/ID2.Manager.Dapper/Repository/MarkusRepository.cs | ||
---|---|---|
44 | 44 |
return result; |
45 | 45 |
} |
46 | 46 |
|
47 |
public bool InsertOrUpdateUsers(List<UserInfo> users) |
|
48 |
{ |
|
49 |
bool result = false; |
|
50 |
|
|
51 |
try |
|
52 |
{ |
|
53 |
|
|
54 |
} |
|
55 |
catch (Exception ex) |
|
56 |
{ |
|
57 |
|
|
58 |
} |
|
59 |
|
|
60 |
return result; |
|
61 |
} |
|
62 |
|
|
47 | 63 |
public IEnumerable<ConvertDoc> GetConvertDoc(int status,string ProjectNo) |
48 | 64 |
{ |
49 | 65 |
string SQL = "SELECT * FROM CONVERTER_DOC WHERE STATUS = @STATUS and PROJECT_NO = @PROJECT_NO"; |
ID2.Manager/ID2.Manager/ID2.Manager.csproj | ||
---|---|---|
187 | 187 |
<DependentUpon>Resources.resx</DependentUpon> |
188 | 188 |
<DesignTime>True</DesignTime> |
189 | 189 |
</Compile> |
190 |
<None Include="Log.config"> |
|
191 |
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> |
|
192 |
</None> |
|
190 | 193 |
<None Include="Properties\Settings.settings"> |
191 | 194 |
<Generator>SettingsSingleFileGenerator</Generator> |
192 | 195 |
<LastGenOutput>Settings.Designer.cs</LastGenOutput> |
... | ... | |
239 | 242 |
<PackageReference Include="GemBox.Spreadsheet"> |
240 | 243 |
<Version>47.0.1268</Version> |
241 | 244 |
</PackageReference> |
245 |
<PackageReference Include="log4net"> |
|
246 |
<Version>2.0.15</Version> |
|
247 |
</PackageReference> |
|
242 | 248 |
<PackageReference Include="Newtonsoft.Json"> |
243 | 249 |
<Version>13.0.3</Version> |
244 | 250 |
</PackageReference> |
ID2.Manager/ID2.Manager/Program.cs | ||
---|---|---|
5 | 5 |
using System.Windows.Forms; |
6 | 6 |
using ID2.Manager.Common; |
7 | 7 |
using ID2.Manager.Forms; |
8 |
using log4net; |
|
8 | 9 |
|
9 | 10 |
namespace ID2.Manager |
10 | 11 |
{ |
11 | 12 |
static class Program |
12 | 13 |
{ |
14 |
/// </summary> |
|
15 |
public static ILog logger = null; |
|
13 | 16 |
|
14 | 17 |
public static Informations informations = Informations.Instance; |
15 | 18 |
public static bool IsSearch = false; |
... | ... | |
20 | 23 |
[STAThread] |
21 | 24 |
static void Main() |
22 | 25 |
{ |
26 |
logger = LogManager.GetLogger(typeof(Program)); |
|
23 | 27 |
devDept.LicenseManager.Unlock(typeof(devDept.Eyeshot.Workspace), "US22-CKTU9-RX12F-3SF6-R1X9"); |
24 | 28 |
|
25 | 29 |
Application.EnableVisualStyles(); |
26 | 30 |
Application.SetCompatibleTextRenderingDefault(false); |
27 |
|
|
31 |
|
|
28 | 32 |
using (Login frm = new Login()) |
29 | 33 |
{ |
30 | 34 |
if (frm.ShowDialog() == DialogResult.OK) |
ID2.Manager/ID2.Manager/Properties/AssemblyInfo.cs | ||
---|---|---|
18 | 18 |
// [assembly: AssemblyVersion("1.0.*")] |
19 | 19 |
[assembly: AssemblyVersion("1.0.0.0")] |
20 | 20 |
[assembly: AssemblyFileVersion("1.0.0.0")] |
21 |
[assembly: log4net.Config.XmlConfigurator(ConfigFile = "Log.config", Watch = true)] |
내보내기 Unified diff