예제 #1
0
파일: globals.cs 프로젝트: jpheary/Argix08
 public static void Trace(string message, LogLevel level)
 {
     //Trace
     if (level >= _Config.TraceLevel)
     {
         TraceMessage m = new TraceMessage();
         m.Name     = "Argix08";
         m.Source   = App.Product;
         m.User     = Environment.UserName;
         m.Computer = Environment.MachineName;
         m.LogLevel = level;
         m.Message  = message;
         TLViewerProxy.WriteLogEntry(m);
     }
 }
예제 #2
0
파일: globals.cs 프로젝트: jpheary/Argix08
 public TLViewerConfiguration()
 {
     //Constructor
     this.mConfig = TLViewerProxy.GetUserConfiguration(App.Product, new string[] { Environment.UserName, Environment.MachineName });
 }