Ejemplo n.º 1
0
        public MainSentryEventProcessor(
            SentryOptions options,
            Func <ISentryStackTraceFactory> sentryStackTraceFactoryAccessor)
        {
            _options = options;
            SentryStackTraceFactoryAccessor = sentryStackTraceFactoryAccessor;

            _enricher = new Enricher(options);
        }
Ejemplo n.º 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);
        }