Back to index

openldap  2.4.31
Defines | Functions | Variables
ldap_log.h File Reference
#include <stdio.h>
#include <ldap_cdefs.h>
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define LDAP_LEVEL_EMERG   (0)
#define LDAP_LEVEL_ALERT   (1)
#define LDAP_LEVEL_CRIT   (2)
#define LDAP_LEVEL_ERR   (3)
#define LDAP_LEVEL_WARNING   (4)
#define LDAP_LEVEL_NOTICE   (5)
#define LDAP_LEVEL_INFO   (6)
#define LDAP_LEVEL_DEBUG   (7)
#define LDAP_LEVEL_MASK(s)   (s)
#define LDAP_LEVEL_ENTRY   (0x08) /* log function entry points */
#define LDAP_LEVEL_ARGS   (0x10) /* log function call parameters */
#define LDAP_LEVEL_RESULTS   (0x20) /* Log function results */
#define LDAP_LEVEL_DETAIL1   (0x40) /* log level 1 function operational details */
#define LDAP_LEVEL_DETAIL2   (0x80) /* Log level 2 function operational details */
#define LDAP_DEBUG_TRACE   0x0001
#define LDAP_DEBUG_PACKETS   0x0002
#define LDAP_DEBUG_ARGS   0x0004
#define LDAP_DEBUG_CONNS   0x0008
#define LDAP_DEBUG_BER   0x0010
#define LDAP_DEBUG_FILTER   0x0020
#define LDAP_DEBUG_CONFIG   0x0040
#define LDAP_DEBUG_ACL   0x0080
#define LDAP_DEBUG_STATS   0x0100
#define LDAP_DEBUG_STATS2   0x0200
#define LDAP_DEBUG_SHELL   0x0400
#define LDAP_DEBUG_PARSE   0x0800
#define LDAP_DEBUG_SYNC   0x4000
#define LDAP_DEBUG_NONE   0x8000
#define LDAP_DEBUG_ANY   (-1)
#define Log0(level, severity, fmt)   ((void)0)
#define Log1(level, severity, fmt, arg1)   ((void)0)
#define Log2(level, severity, fmt, arg1, arg2)   ((void)0)
#define Log3(level, severity, fmt, arg1, arg2, arg3)   ((void)0)
#define Log4(level, severity, fmt, arg1, arg2, arg3, arg4)   ((void)0)
#define Log5(level, severity, fmt, arg1, arg2, arg3, arg4, arg5)   ((void)0)
#define Debug(level, fmt, arg1, arg2, arg3)   ((void)0)
#define LogTest(level)   ( 0 )

Functions

 LDAP_LUTIL_F (int) lutil_debug_file LDAP_P((FILE *file))
 LDAP_LUTIL_F (void) lutil_debug LDAP_P((int debug
int const char LDAP_GCCATTR ((format(printf, 3, 4)))

Variables

int level
int const char * fmt

Define Documentation

#define Debug (   level,
  fmt,
  arg1,
  arg2,
  arg3 
)    ((void)0)

Definition at line 241 of file ldap_log.h.

#define LDAP_DEBUG_ACL   0x0080

Definition at line 114 of file ldap_log.h.

#define LDAP_DEBUG_ANY   (-1)

Definition at line 126 of file ldap_log.h.

#define LDAP_DEBUG_ARGS   0x0004

Definition at line 109 of file ldap_log.h.

#define LDAP_DEBUG_BER   0x0010

Definition at line 111 of file ldap_log.h.

#define LDAP_DEBUG_CONFIG   0x0040

Definition at line 113 of file ldap_log.h.

#define LDAP_DEBUG_CONNS   0x0008

Definition at line 110 of file ldap_log.h.

#define LDAP_DEBUG_FILTER   0x0020

Definition at line 112 of file ldap_log.h.

#define LDAP_DEBUG_NONE   0x8000

Definition at line 125 of file ldap_log.h.

#define LDAP_DEBUG_PACKETS   0x0002

Definition at line 108 of file ldap_log.h.

#define LDAP_DEBUG_PARSE   0x0800

Definition at line 118 of file ldap_log.h.

#define LDAP_DEBUG_SHELL   0x0400

Definition at line 117 of file ldap_log.h.

#define LDAP_DEBUG_STATS   0x0100

Definition at line 115 of file ldap_log.h.

#define LDAP_DEBUG_STATS2   0x0200

Definition at line 116 of file ldap_log.h.

#define LDAP_DEBUG_SYNC   0x4000

Definition at line 123 of file ldap_log.h.

#define LDAP_DEBUG_TRACE   0x0001

Definition at line 107 of file ldap_log.h.

#define LDAP_LEVEL_ALERT   (1)

Definition at line 82 of file ldap_log.h.

#define LDAP_LEVEL_ARGS   (0x10) /* log function call parameters */

Definition at line 100 of file ldap_log.h.

#define LDAP_LEVEL_CRIT   (2)

Definition at line 83 of file ldap_log.h.

#define LDAP_LEVEL_DEBUG   (7)

Definition at line 88 of file ldap_log.h.

#define LDAP_LEVEL_DETAIL1   (0x40) /* log level 1 function operational details */

Definition at line 102 of file ldap_log.h.

#define LDAP_LEVEL_DETAIL2   (0x80) /* Log level 2 function operational details */

Definition at line 103 of file ldap_log.h.

#define LDAP_LEVEL_EMERG   (0)

Definition at line 81 of file ldap_log.h.

#define LDAP_LEVEL_ENTRY   (0x08) /* log function entry points */

Definition at line 99 of file ldap_log.h.

#define LDAP_LEVEL_ERR   (3)

Definition at line 84 of file ldap_log.h.

#define LDAP_LEVEL_INFO   (6)

Definition at line 87 of file ldap_log.h.

#define LDAP_LEVEL_MASK (   s)    (s)

Definition at line 95 of file ldap_log.h.

#define LDAP_LEVEL_NOTICE   (5)

Definition at line 86 of file ldap_log.h.

#define LDAP_LEVEL_RESULTS   (0x20) /* Log function results */

Definition at line 101 of file ldap_log.h.

#define LDAP_LEVEL_WARNING   (4)

Definition at line 85 of file ldap_log.h.

#define Log0 (   level,
  severity,
  fmt 
)    ((void)0)

Definition at line 235 of file ldap_log.h.

#define Log1 (   level,
  severity,
  fmt,
  arg1 
)    ((void)0)

Definition at line 236 of file ldap_log.h.

#define Log2 (   level,
  severity,
  fmt,
  arg1,
  arg2 
)    ((void)0)

Definition at line 237 of file ldap_log.h.

#define Log3 (   level,
  severity,
  fmt,
  arg1,
  arg2,
  arg3 
)    ((void)0)

Definition at line 238 of file ldap_log.h.

#define Log4 (   level,
  severity,
  fmt,
  arg1,
  arg2,
  arg3,
  arg4 
)    ((void)0)

Definition at line 239 of file ldap_log.h.

#define Log5 (   level,
  severity,
  fmt,
  arg1,
  arg2,
  arg3,
  arg4,
  arg5 
)    ((void)0)

Definition at line 240 of file ldap_log.h.

#define LogTest (   level)    ( 0 )

Definition at line 242 of file ldap_log.h.


Function Documentation

int const char LDAP_GCCATTR ( (format(printf, 3, 4))  )

Variable Documentation

int const char* fmt

Definition at line 249 of file ldap_log.h.

Definition at line 249 of file ldap_log.h.