summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorJosé Bollo <jose.bollo@iot.bzh>2017-06-28 14:44:11 +0200
committerJosé Bollo <jose.bollo@iot.bzh>2017-06-28 19:13:29 +0200
commitb96bdf20d6c4b6a769ebfcff86efbaf904dd115f (patch)
treeffaf2139c06f286ab64fa9484d84898188299569 /test
parent09f86852f8b406ed8203c1730f4dc65590ed0030 (diff)
Add new macro for handling verbosity
It might be interesting to test the verbosity level before making resource consuming stuff. Se example below: if (afb_verbose_notice()) { char *s = compute(); NOTICE("I got %s", s); free(s); } Change-Id: I7be4248a86fc2a2a23820ec822b36d9fccafb203 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions