File tree Expand file tree Collapse file tree 1 file changed +0
-47
lines changed Expand file tree Collapse file tree 1 file changed +0
-47
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,6 @@ namespace Sentry.NLog
1717 [ NLogConfigurationItem ]
1818 public class SentryNLogOptions : SentryOptions
1919 {
20-
2120 /// <summary>
2221 /// How many seconds to wait after triggering Logmanager.Shutdown() before just shutting down the
2322 /// Sentry sdk.
@@ -68,51 +67,5 @@ public int ShutdownTimeoutSeconds
6867
6968 [ Advanced ]
7069 public bool InitializeSdk { get ; set ; } = true ;
71-
72- [ Advanced ]
73- public bool EnableDiagnosticConsoleLogging
74- {
75- get => _enableDiagnosticsLogging ;
76-
77- set
78- {
79- if ( value )
80- {
81- Debug = true ;
82- DiagnosticLogger = _diagnosticsLogger . Value ;
83- _enableDiagnosticsLogging = true ;
84- }
85- else if ( _enableDiagnosticsLogging )
86- {
87- Debug = false ;
88- DiagnosticLogger = null ;
89- EnableDiagnosticConsoleLogging = false ;
90- }
91- }
92- }
93-
94- [ Advanced ]
95- public bool EnableDuplicateEventDetection
96- {
97- get => _enableDuplicateEventDetection ;
98-
99- set
100- {
101- if ( value == false )
102- {
103- this . DisableDuplicateEventDetection ( ) ;
104- }
105-
106- _enableDuplicateEventDetection = value ;
107- }
108- }
109-
110-
111- private bool _enableDuplicateEventDetection = true ;
112- private bool _enableDiagnosticsLogging ;
113-
114- private static readonly Lazy < IDiagnosticLogger > _diagnosticsLogger =
115- new Lazy < IDiagnosticLogger > ( ( ) => new ConsoleDiagnosticLogger ( Protocol . SentryLevel . Debug ) ) ;
116-
11770 }
11871}
You can’t perform that action at this time.
0 commit comments