private void Connector_Closed(object sender, EventArgs e) { TraceServer.Trace(new TraceClass() { Message = string.Format("Connection closed"), Action = "Connector_Closed" }); }
public void Trace(string Message) { TraceClass traceClass = new TraceClass() { Message = Message, Action = string.Format("Trace from application assembly: {0} ", Assembly.GetExecutingAssembly().FullName) }; _traceList.Add(traceClass); TraceServer.Trace(traceClass); }
public void Trace(TraceClass msg) { TraceServer.Trace(msg); }