Skip to content

Commit a7f5d47

Browse files
committed
Use logger from options for JVM profiler
1 parent a09ed2a commit a7f5d47

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sentry/src/main/java/io/sentry/Sentry.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -710,7 +710,7 @@ private static void initJvmContinuousProfiling(@NotNull SentryOptions options) {
710710

711711
final IContinuousProfiler continuousProfiler =
712712
ProfilingServiceLoader.loadContinuousProfiler(
713-
new SystemOutLogger(),
713+
options.getLogger(),
714714
profilingTracesDirPath,
715715
options.getProfilingTracesHz(),
716716
options.getExecutorService());

0 commit comments

Comments
 (0)