Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion src/Sentry/SentryClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,10 @@ internal SentryClient(
_sessionManager = sessionManager ?? new GlobalSessionManager(options);
_enricher = new Enricher(options);

options.SetupLogging(); // Only relevant if this client wasn't created as a result of calling Init
if (options.DiagnosticLogger is null)
{
options.SetupLogging(); // Only relevant if this client wasn't created as a result of calling Init
}

if (worker == null)
{
Expand Down
Loading