Exemplo n.º 1
0
        public void LogError(String message, Exception ex)
        {
            var log = this.activityLog;

            if (log != null)
            {
                log.LogEntry(
                    (UInt32)__ACTIVITYLOG_ENTRYTYPE.ALE_ERROR,
                    "Viasfora",
                    String.Format("{0}. Exception: {1}", message, ex)
                    );
            }
            Telemetry.WriteException(message, ex);
        }
Exemplo n.º 2
0
 public void WriteException(string msg, Exception ex)
 {
     Telemetry.WriteException(msg, ex);
 }