File: nghttp2_set_debug_vprintf_callback.rst

package info (click to toggle)
nghttp2 1.68.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 15,592 kB
  • sloc: ansic: 104,233; cpp: 55,792; ruby: 30,108; yacc: 7,083; sh: 4,643; makefile: 1,506; python: 806
file content (29 lines) | stat: -rw-r--r-- 963 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29

nghttp2_set_debug_vprintf_callback
==================================

Synopsis
--------

*#include <nghttp2/nghttp2.h>*

.. function:: void nghttp2_set_debug_vprintf_callback( nghttp2_debug_vprintf_callback debug_vprintf_callback)

    
    Sets a debug output callback called by the library when built with
    ``DEBUGBUILD`` macro defined.  If this option is not used, debug
    log is written into standard error output.
    
    For builds without ``DEBUGBUILD`` macro defined, this function is
    noop.
    
    Note that building with ``DEBUGBUILD`` may cause significant
    performance penalty to libnghttp2 because of extra processing.  It
    should be used for debugging purpose only.
    
    .. Warning::
    
      Building with ``DEBUGBUILD`` may cause significant performance
      penalty to libnghttp2 because of extra processing.  It should be
      used for debugging purpose only.  We write this two times because
      this is important.