How to enable log in release in Rust (ckb-std) #220
XuJiandong
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
We can use
debug!macro fromckb-stdto print log. It can only work indebugmod not inreleasemode. Here is the simple code snippets which can print log inreleasemode:Note: it's
debugsyscall, not macrodebug!.Beta Was this translation helpful? Give feedback.
All reactions