1
2nghttp2_set_debug_vprintf_callback
3==================================
4
5Synopsis
6--------
7
8*#include <nghttp2/nghttp2.h>*
9
10.. function:: void nghttp2_set_debug_vprintf_callback( nghttp2_debug_vprintf_callback debug_vprintf_callback)
11
12
13    Sets a debug output callback called by the library when built with
14    ``DEBUGBUILD`` macro defined.  If this option is not used, debug
15    log is written into standard error output.
16
17    For builds without ``DEBUGBUILD`` macro defined, this function is
18    noop.
19
20    Note that building with ``DEBUGBUILD`` may cause significant
21    performance penalty to libnghttp2 because of extra processing.  It
22    should be used for debugging purpose only.
23
24    .. Warning::
25
26      Building with ``DEBUGBUILD`` may cause significant performance
27      penalty to libnghttp2 because of extra processing.  It should be
28      used for debugging purpose only.  We write this two times because
29      this is important.
30