X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fverbose.c;h=7e46a333a4b3d2d992d1eede9c4f5d408723c2fe;hb=e96fa2cd6b81784ad6fb6ba1794ac6e034486b97;hp=fa7ea3f61201fdd8c4f0e08566e272bd736fca1f;hpb=12a227a2fc574cf0fd560453e1cdd15c50550abb;p=src%2Fapp-framework-main.git diff --git a/src/verbose.c b/src/verbose.c index fa7ea3f..7e46a33 100644 --- a/src/verbose.c +++ b/src/verbose.c @@ -1,6 +1,8 @@ /* Copyright 2015 IoT.bzh + author: José Bollo + Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at @@ -14,7 +16,14 @@ limitations under the License. */ -#include +#include "verbose.h" +#if !defined(NDEBUG) int verbosity = 1; +#else +void verbose_error(const char *file, int line) +{ + syslog(LOG_ERR, "error file %s line %d", file, line); +} +#endif