[SCM] Samba Shared Repository - branch master updated
Amitay Isaacs
amitay at samba.org
Mon Dec 5 04:59:03 UTC 2016
The branch, master has been updated
via 3de13cb debug: Add minimalist D_* macros
from 01cc499 idmap_hash: stdio.h comes with replace.h
https://git.samba.org/?p=samba.git;a=shortlog;h=master
- Log -----------------------------------------------------------------
commit 3de13cbc64405998f138c57df45b2e44ef0efdde
Author: Martin Schwenke <martin at meltin.net>
Date: Thu Nov 24 14:48:04 2016 +1100
debug: Add minimalist D_* macros
These don't include the function name or any other header.
Signed-off-by: Martin Schwenke <martin at meltin.net>
Reviewed-by: Amitay Isaacs <amitay at gmail.com>
Autobuild-User(master): Amitay Isaacs <amitay at samba.org>
Autobuild-Date(master): Mon Dec 5 05:58:48 CET 2016 on sn-devel-144
-----------------------------------------------------------------------
Summary of changes:
lib/util/debug.h | 6 ++++++
1 file changed, 6 insertions(+)
Changeset truncated at 500 lines:
diff --git a/lib/util/debug.h b/lib/util/debug.h
index 95b0a30..b50bf50 100644
--- a/lib/util/debug.h
+++ b/lib/util/debug.h
@@ -227,6 +227,12 @@ extern int *DEBUGLEVEL_CLASS;
#define DBG_INFO(...) DBG_PREFIX(DBGLVL_INFO, (__VA_ARGS__))
#define DBG_DEBUG(...) DBG_PREFIX(DBGLVL_DEBUG, (__VA_ARGS__))
+#define D_ERR(...) DEBUG(DBGLVL_ERR, (__VA_ARGS__))
+#define D_WARNING(...) DEBUG(DBGLVL_WARNING, (__VA_ARGS__))
+#define D_NOTICE(...) DEBUG(DBGLVL_NOTICE, (__VA_ARGS__))
+#define D_INFO(...) DEBUG(DBGLVL_INFO, (__VA_ARGS__))
+#define D_DEBUG(...) DEBUG(DBGLVL_DEBUG, (__VA_ARGS__))
+
/* The following definitions come from lib/debug.c */
/** Possible destinations for the debug log (in order of precedence -
--
Samba Shared Repository
More information about the samba-cvs
mailing list