Define ANJ_LOG_DISPOSABLE
Defined in File log.h
Define Documentation
-
ANJ_LOG_DISPOSABLE(Arg)
Replaces a string constant with
" "if ANJ_LOG_STRIP_CONSTANTS is enabled. This is useful for wrapping constant parts of log messages, to shorten them, and therefore reduce the size of the binary.anj_log(my_module, L_DEBUG, ANJ_LOG_DISPOSABLE("The result is: ") "%d", 42);
Note
Provided string constants shall not contain any format specifiers.
- Parameters:
Arg – A string constant to be potentially replaced with
" ".