Beispiel #1
0
        public MainSentryEventProcessor(
            SentryOptions options,
            Func <ISentryStackTraceFactory> sentryStackTraceFactoryAccessor)
        {
            _options = options;
            SentryStackTraceFactoryAccessor = sentryStackTraceFactoryAccessor;

            _enricher = new Enricher(options);
        }
Beispiel #2
0
        public MainSentryEventProcessor(
            SentryOptions options,
            Func <ISentryStackTraceFactory> sentryStackTraceFactoryAccessor,
            Lazy <string?>?lazyRelease = null)
        {
            _options = options;
            SentryStackTraceFactoryAccessor = sentryStackTraceFactoryAccessor;
            _release = lazyRelease ?? new Lazy <string?>(ReleaseLocator.GetCurrent);

            _enricher = new Enricher(options);
        }