Skip to content

fix: Start logger as early as possible#302

Merged
Swatinem merged 1 commit intomasterfrom
fix/early-logging
Jun 17, 2020
Merged

fix: Start logger as early as possible#302
Swatinem merged 1 commit intomasterfrom
fix/early-logging

Conversation

@Swatinem
Copy link
Copy Markdown
Contributor

fixes #300

@Swatinem Swatinem requested a review from a team June 17, 2020 08:38
Copy link
Copy Markdown
Member

@jan-auer jan-auer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change means that SENTRY_WARN no longer works if debug is disabled. Is that intended? We currently do not use SENTRY_WARN, but it could become a surprise in the future.

@Swatinem
Copy link
Copy Markdown
Contributor Author

The debug flag enables or suppresses all the logging that sentry does internally. I think someone would have to create their own logger and gate internally on the level, with debug set to true in the options.

@Swatinem Swatinem merged commit 5bff34a into master Jun 17, 2020
@Swatinem Swatinem deleted the fix/early-logging branch June 17, 2020 09:10
irov pushed a commit to irov/sentry-native that referenced this pull request Jun 17, 2020
@daxpedda daxpedda mentioned this pull request Jun 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

missing logging in sentry_init

2 participants