2 * Copyright 2000, OpenLDAP Foundation, All Rights Reserved.
3 * COPYING RESTRICTIONS APPLY, see COPYRIGHT file
10 #define LDAP_DEBUG_NONE 0x0000
11 #define LDAP_DEBUG_TRACE 0x0001
12 #define LDAP_DEBUG_CONSTRUCT 0x0002
13 #define LDAP_DEBUG_DESTROY 0x0004
14 #define LDAP_DEBUG_PARAMETER 0x0008
15 #define LDAP_DEBUG_ANY 0xffff
17 #define DEBUGLEVEL LDAP_DEBUG_ANY
20 std::cerr << "file: " __FILE__ << " line: " << __LINE__
23 #define DEBUG(level, arg) \
24 if((level) & DEBUGLEVEL){ \
29 #define DEBUG(level,arg)