1
// $OpenLDAP: pkg/ldap/contrib/ldapc++/src/debug.h,v 1.5.10.1 2008/04/14 23:09:26 quanah Exp $
3
* Copyright 2000, OpenLDAP Foundation, All Rights Reserved.
4
* COPYING RESTRICTIONS APPLY, see COPYRIGHT file
11
#define LDAP_DEBUG_NONE 0x0000
12
#define LDAP_DEBUG_TRACE 0x0001
13
#define LDAP_DEBUG_CONSTRUCT 0x0002
14
#define LDAP_DEBUG_DESTROY 0x0004
15
#define LDAP_DEBUG_PARAMETER 0x0008
16
#define LDAP_DEBUG_ANY 0xffff
18
#define DEBUGLEVEL LDAP_DEBUG_ANY
21
std::cerr << "file: " __FILE__ << " line: " << __LINE__
24
#define DEBUG(level, arg) \
25
if((level) & DEBUGLEVEL){ \
30
#define DEBUG(level,arg)