nostrdb: Only log to stdout if NDB_LOG is defined
Closes: https://github.com/damus-io/nostrdb/pull/64 Signed-off-by: William Casarin <jb55@jb55.com>
This commit is contained in:
1 parent
af5961ce26
commit
e6cb6c938b
1 file changed
+1
-1
@@ -17,7 +17,7 @@
|
||||
|
||||
//#define DEBUG 1
|
||||
|
||||
#ifdef DEBUG
|
||||
#ifdef NDB_LOG
|
||||
#define ndb_debug(...) printf(__VA_ARGS__)
|
||||
#else
|
||||
#define ndb_debug(...) (void)0
|
||||
|
||||
Reference in new issue
Block a user