-
Notifications
You must be signed in to change notification settings - Fork 446
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Implement `seal_debug_message` * Update docs * Fmt * Fix debug_print macro * review: use newline char Co-authored-by: Robin Freyler <robin.freyler@gmail.com> * Fix example * Revert to newline string * Fmt * Single call to debug_print for debug_println! * Add missing ReturnCode, still need to handle it * Inline debug_println! * If logging is disabled then subsequent calls will be a no-op * Fmt * Fix missing error match in experimental off-chain * Add safety comment to debug_message * Only re-export ink_prelude::format, and explain * Satisfy clippy * Encapsulate DEBUG_ENABLED global in module * Move seal_denug_message to unstable module * Update unstable and safety comments * Add more comments about the required features to be enabled on the node runtime * Add `ink-debug` feature, make debug messages a noop if not enabled * Fmt * Noop macro formatting * Enable debug printing for std * Comment formatting * Encapsulate static variable inside the function * Fmt * Remove debug_assert!(true) for disabled macros Co-authored-by: Robin Freyler <robin.freyler@gmail.com>
- Loading branch information
Showing
19 changed files
with
192 additions
and
99 deletions.
There are no files selected for viewing
This file contains 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 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 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 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 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 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 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 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 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 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 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.