Code Review
/
src
/
app-framework-binder.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(from:
404d36e
)
Add new macro for handling verbosity
author
José Bollo
<jose.bollo@iot.bzh>
Wed, 28 Jun 2017 12:44:11 +0000
(14:44 +0200)
committer
José Bollo
<jose.bollo@iot.bzh>
Wed, 28 Jun 2017 12:44:11 +0000
(14:44 +0200)
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>
No differences found