Ejemplo n.º 1
0
 /// <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);
 }
Ejemplo n.º 2
0
 /// <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);
 }