Пример #1
0
 private void Connector_Closed(object sender, EventArgs e)
 {
     TraceServer.Trace(new TraceClass()
     {
         Message = string.Format("Connection closed"),
         Action  = "Connector_Closed"
     });
 }
Пример #2
0
        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);
        }
Пример #3
0
 public void Trace(TraceClass msg)
 {
     TraceServer.Trace(msg);
 }