Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add breadcrumbs automatically when printing to logs #522

Merged
merged 4 commits into from
Apr 2, 2024

Conversation

tustanivsky
Copy link
Collaborator

Closes #382

Copy link
Contributor

github-actions bot commented Mar 25, 2024

Messages
📖 Do not forget to update Sentry-docs with your feature once the pull request gets approved.

Generated by 🚫 dangerJS against c787f15

Copy link
Contributor

@bitsandfoxes bitsandfoxes left a comment

Choose a reason for hiding this comment

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

There's even the configuration of what types of breadcrumbs as well! Nice!

}

USentrySubsystem* SentrySubsystem = GEngine->GetEngineSubsystem<USentrySubsystem>();
if(!SentrySubsystem || !SentrySubsystem->IsEnabled())
Copy link
Contributor

Choose a reason for hiding this comment

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

Just to confirm, it was because of the spaces!

Comment on lines +124 to +125
GLog->AddOutputDevice(OutputDevice.Get());
GLog->SerializeBacklog(OutputDevice.Get());
Copy link
Contributor

Choose a reason for hiding this comment

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

Is there a chance for this to get overwritten by the user or something else?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I don't think so - having multiple output devices is totally acceptable as they don't interfere with each other.

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.

Support logs as breadcrumbs
2 participants