예제 #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;
         InvoicingProxy.WriteLogEntry(m);
     }
 }
예제 #2
0
파일: globals.cs 프로젝트: jpheary/Argix08
 public InvoicingConfiguration()
 {
     //Constructor
     this.mConfig = InvoicingProxy.GetUserConfiguration(App.Product, new string[] { Environment.UserName, Environment.MachineName });
 }