-
Notifications
You must be signed in to change notification settings - Fork 478
Implement seal_debug_message
#792
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
Merged
Merged
Changes from all commits
Commits
Show all changes
31 commits
Select commit
Hold shift + click to select a range
2e6ba6c
Implement `seal_debug_message`
ascjones fa0fd9e
Update docs
ascjones 8e896b3
Fmt
ascjones 8738b80
Fix debug_print macro
ascjones 13e485e
review: use newline char
ascjones 2301179
Fix example
ascjones 5e091c1
Revert to newline string
ascjones 2279a6f
Fmt
ascjones 636afc3
Merge branch 'master' into aj-debug-message
ascjones 9b7b687
Single call to debug_print for debug_println!
ascjones c2b656c
Add missing ReturnCode, still need to handle it
ascjones 4fa9f1e
Inline debug_println!
ascjones be0c00d
If logging is disabled then subsequent calls will be a no-op
ascjones 62f6b10
Fmt
ascjones 43aba01
Fix missing error match in experimental off-chain
ascjones b978d76
Add safety comment to debug_message
ascjones 35fcf72
Only re-export ink_prelude::format, and explain
ascjones d96dea0
Satisfy clippy
ascjones efa66bb
Encapsulate DEBUG_ENABLED global in module
ascjones 3c1b5a1
Move seal_denug_message to unstable module
ascjones 682ec0f
Update unstable and safety comments
ascjones db05bd9
Add more comments about the required features to be enabled on the no…
ascjones c641950
Add `ink-debug` feature, make debug messages a noop if not enabled
ascjones 89c3536
Fmt
ascjones 1fa7246
Noop macro formatting
ascjones dba097b
Enable debug printing for std
ascjones 0de9b94
Comment formatting
ascjones 5762406
Encapsulate static variable inside the function
ascjones 47ef2f1
Merge branch 'master' into aj-debug-message
ascjones 0524daa
Fmt
ascjones 61d0280
Remove debug_assert!(true) for disabled macros
ascjones File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.