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 anchor-debug feature to optionally inject log statements #253

Merged
merged 3 commits into from
May 7, 2021

Conversation

drozdziak1
Copy link
Contributor

@drozdziak1 drozdziak1 commented May 7, 2021

This makes anchor-lang print a log first thing in fn entry() conditionally using a feature. It helped me see that I need to work on something anchor-specific and not Solana-specific and it might help others. I'd love to grow this in the future.

@drozdziak1 drozdziak1 changed the title Add anchor-debug feature to optionally inject log statements Add anchor-debug feature to optionally inject log statements May 7, 2021
@armaniferrante
Copy link
Member

armaniferrante commented May 7, 2021

This is great. Can you change the feature flags added here to match your flag 71873a7? I prefer yours.

@armaniferrante
Copy link
Member

Also, please add a CHANGELOG.md entry.

@armaniferrante armaniferrante merged commit d08ec03 into coral-xyz:master May 7, 2021
@drozdziak1
Copy link
Contributor Author

Sorry, I was OOO by the time you commented. Thanks :)

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.

2 participants