macro_rules! info_in_release { ($($arg:tt)*) => { ... }; }
Expand description
This is wrapper for info
log.
In our CI tests, we frequently create and drop tables, and checkpoint in all barriers, which may
cause many events. However, these events are not expected to be frequent in production usage, so
we print an info log for every these events. But these events are frequent in CI, and produce
many logs in CI, and we may want to downgrade the log level of these event log to debug.
Therefore, we provide this macro to wrap the info
log, which will produce info
log when
debug_assertions
is not enabled, and debug
log when debug_assertions
is enabled.