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
-
We can use
debug!
macro fromckb-std
to print log. It can only work indebug
mod not inrelease
mode. Here is the simple code snippets which can print log inrelease
mode:Note: it's
debug
syscall, not macrodebug!
.Beta Was this translation helpful? Give feedback.
All reactions