AnimatLab  2
Test
ILogger.cs
1 // VBConversions Note: VB project level imports
2 using System.Collections.Generic;
3 using System;
4 using System.Diagnostics;
5 using System.Data;
6 using System.Xml.Linq;
7 using Microsoft.VisualBasic;
8 using System.Collections;
9 using System.Linq;
10 // End of VB project level imports
11 
12 
13 
14 
16 {
17  public enum enumLogLevel //VBConversions Note: This enum was moved outside of interface below since enums in interfaces aren't supported in C#.
18  {
19  None = 0,
20  ErrorType = 10,
21  Info = 20,
22  Debug = 30,
23  Detail = 40
24  }
25 
26  public interface ILogger
27  {
28 
29 // public enum enumLogLevel //VBConversions Note: This enum was moved above and outside the interface, since enums in interfaces aren't supported in C#.
30 // {
31 // None = 0,
32 // ErrorType = 10, // only trace error
33 // Info = 20, // some extra info
34 // Debug = 30, // debugging info
35 // Detail = 40 // detailed debugging info
36 // }
37 
38  string LogPrefix {get; set;}
39  enumLogLevel TraceLevel {get; set;}
40 
41  void LogMsg(enumLogLevel eLevel, string sMessage);
42 
43  }
44 
45 
46  }