summaryrefslogtreecommitdiffstats
path: root/include/afb/afb-verbosity.h
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 14:44:11 +0200
commit404d36e7ce15941d07bded3c70ad91070a4d4a35 (patch)
tree7b10cb0a1a30f5487d26474d55218e136e9c0a6e /include/afb/afb-verbosity.h
parent4463a417e6902da487c37db539a85aa9193249a0 (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 'include/afb/afb-verbosity.h')
0 files changed, 0 insertions, 0 deletions