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.
|