File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
src/SymbolCollector.Console Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -219,6 +219,11 @@ private static void Bootstrap(Args args)
219219 o . Debug = true ;
220220 o . IsGlobalModeEnabled = true ;
221221 o . CaptureFailedRequests = true ;
222+
223+ #pragma warning disable SENTRY0001
224+ o . Experimental . EnableLogs = true ;
225+ #pragma warning restore SENTRY0001
226+
222227#if DEBUG
223228 o . Environment = "development" ;
224229#else
@@ -231,9 +236,7 @@ private static void Bootstrap(Args args)
231236 o . TracesSampleRate = 1.0 ;
232237 o . ProfilesSampleRate = 1.0 ;
233238
234- o . AddIntegration ( new ProfilingIntegration (
235- // Block up to 2 seconds to get profiling started before running the app
236- TimeSpan . FromSeconds ( 2 ) ) ) ;
239+ o . AddProfilingIntegration ( TimeSpan . FromSeconds ( 2 ) ) ;
237240
238241 o . AddExceptionFilterForType < OperationCanceledException > ( ) ;
239242 } ) ;
You can’t perform that action at this time.
0 commit comments