commit | 810d19f99a724a929646502a1dd101acef00cd4f | [log] [tgz] |
---|---|---|
author | Colin Cross <ccross@android.com> | Thu Feb 06 20:07:50 2014 -0800 |
committer | Colin Cross <ccross@android.com> | Sun Feb 09 21:59:24 2014 -0800 |
tree | 1d2e0bb4d52e1838c1486a79a1ab9ef9b84a6872 | |
parent | 4207df11c5c09969b576324b4eea93a4c4e1ee99 [diff] |
log: add compile-time checking when ALOGV is disabled Wrap the call in a if (0) when verbose logging is disabled to provide compile time checking. Also add a printf format attribute to the function to warn if parameters are incorrect. Change-Id: Ic77edeadcc4d886ca0f8b434f8550e18e22d5901