AlarmWorkflow.Shared.Diagnostics.ExceptionIntervalLogger.LogException C# (CSharp) Метод

LogException() публичный Метод

Log a exception. The Logger decides to log or discard the exception.
public LogException ( object source, Exception ex ) : void
source object The component from which this type comes. The type name of the instance is used.
ex System.Exception The exception.
Результат void
        public void LogException(object source, Exception ex)
        {
            if (ShouldLogException(ex))
            {
                Logger.Instance.LogException(source, ex);
            }
        }