Commit c6fa14f4 authored by Philip Withnall's avatar Philip Withnall

agent: Document G_MESSAGES_DEBUG and NICE_DEBUG

As requested on the mailing list, expand the documentation for
nice_debug_enable() to mention them.
parent 8ecd6b89
......@@ -75,9 +75,19 @@ G_BEGIN_DECLS
/**
* nice_debug_enable:
* @with_stun: Also enable stun debugging messages
* @with_stun: Also enable STUN debugging messages
*
* Enables libnice debug output to the terminal
* Enables libnice debug output to the terminal. Note that the
* `G_MESSAGES_DEBUG` and `NICE_DEBUG` environment variables must be set to the
* set of logging domains to print, in order for any output to be printed. Set
* them to `all` to print all debugging messages, or any of the following
* domains:
* - `libnice-stun`
* - `libnice-tests`
* - `libnice-socket`
* - `libnice`
* - `libnice-pseudotcp`
* - `libnice-pseudotcp-verbose`
*/
void nice_debug_enable (gboolean with_stun);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment