Пример #1
0
        /// <summary>
        /// Debugs an exception
        /// </summary>
        /// <param name="ex">The <see cref="Exception"/> to be logged</param>
        /// <param name="message">The debug message</param>
        /// <param name="memberName">The member name of the caller</param>
        public static void Catch(this Exception ex, string message, [CallerMemberName] string memberName = null)
        {
            Comms.Debug(memberName ?? "Null", message);

            ExceptionH.Catch(ex, LogLevel.Debug);
        }