/// <summary>
        /// Logs the exception internal.
        /// </summary>
        /// <param name="exceptionToLog">The exception to log.</param>
        /// <param name="arguments">The arguments.</param>
        private void LogExceptionInternal(Exception exceptionToLog, object[] arguments)
        {
            Exception resultException;

            if (arguments != null)
            {
                foreach (var a in arguments)
                {
                    _logger.AddParameter(a.GetType().Name, a);
                }
            }

            var result = _logger.TryLogException(exceptionToLog, out resultException);

            if (!result)
            {
                WriteWarningToEventLog("Processing the exception has failed. Check the Uinty event log for details");
            }
        }