Esempio n. 1
0
        public static void NoticeError(Exception exception)
        {
            const ApiMethod apiMetric = ApiMethod.NoticeError;
            const string    apiName   = nameof(NoticeError);

            void work()
            {
                InternalApi.NoticeError(exception);
            }

            TryInvoke(work, apiName, apiMetric);
        }
Esempio n. 2
0
        public static void NoticeError(string message, IDictionary <string, object>?customAttributes, bool isExpected)
        {
            const ApiMethod apiMetric = ApiMethod.NoticeError;
            const string    apiName   = nameof(NoticeError);

            void work()
            {
                InternalApi.NoticeError(message, customAttributes, isExpected);
            }

            TryInvoke(work, apiName, apiMetric);
        }
Esempio n. 3
0
        public static void NoticeError(Exception exception, IDictionary <string, object>?customAttributes)
        {
            const ApiMethod apiMetric = ApiMethod.NoticeError;
            const string    apiName   = nameof(NoticeError);

            void work()
            {
                InternalApi.NoticeError(exception, customAttributes);
            }

            TryInvoke(work, apiName, apiMetric);
        }