/// <summary> /// Logs only the messages caught directly in user implementations, and with access the method that triggered the exception (extensibilityException.Method) /// </summary> /// <param name="message">The message.</param> /// <param name="extensibilityException">The exception holding the method being executed as an object</param> public void LogMessage(string message, ExtensibilityException extensibilityException) { LogMessage(message, extensibilityException.Exception); }
/// <summary> /// Logs only the errors caught directly in user implementations, and with access the method that triggered the exception (extensibilityException.Method) /// </summary> /// <param name="message">The message.</param> /// <param name="extensibilityException">The exception holding the method being executed as an object</param> /// <param name="errorSeverity">The error severity.</param> public void LogError(string message, ExtensibilityException extensibilityException, ErrorSeverity errorSeverity = ErrorSeverity.Normal) { LogError(message, extensibilityException.Exception, errorSeverity); }