Exemple #1
0
 public SentrySink(
     SentrySerilogOptions options,
     IDisposable sdkDisposable)
     : this(
         options,
         () => HubAdapter.Instance,
         sdkDisposable,
         SystemClock.Clock)
 {
 }
Exemple #2
0
 internal SentrySink(
     SentrySerilogOptions options,
     Func <IHub> hubAccessor,
     IDisposable?sdkDisposable,
     ISystemClock clock)
 {
     _options       = options;
     _hubAccessor   = hubAccessor;
     _clock         = clock;
     _sdkDisposable = sdkDisposable;
 }
Exemple #3
0
        internal SentrySink(
            SentrySerilogOptions options,
            Func <IHub> hubAccessor,
            IDisposable sdkDisposable,
            ISystemClock clock)
        {
            Debug.Assert(options != null);
            Debug.Assert(hubAccessor != null);
            Debug.Assert(clock != null);

            _options       = options;
            _hubAccessor   = hubAccessor;
            _clock         = clock;
            _sdkDisposable = sdkDisposable;
        }