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); } }
public TLViewerConfiguration() { //Constructor this.mConfig = TLViewerProxy.GetUserConfiguration(App.Product, new string[] { Environment.UserName, Environment.MachineName }); }