1gnutls_global_set_log_function(3) gnutls gnutls_global_set_log_function(3)
2
3
4
6 gnutls_global_set_log_function - API function
7
9 #include <gnutls/gnutls.h>
10
11 void gnutls_global_set_log_function(gnutls_log_func log_func);
12
14 gnutls_log_func log_func
15 it's a log function
16
18 This is the function where you set the logging function gnutls is going
19 to use. This function only accepts a character array. Normally you
20 may not use this function since it is only used for debugging purposes.
21
22 gnutls_log_func is of the form, void (*gnutls_log_func)( int level,
23 const char*);
24
26 Report bugs to <bugs@gnutls.org>.
27 Home page: https://www.gnutls.org
28
29
31 Copyright © 2001- Free Software Foundation, Inc., and others.
32 Copying and distribution of this file, with or without modification,
33 are permitted in any medium without royalty provided the copyright no‐
34 tice and this notice are preserved.
35
37 The full documentation for gnutls is maintained as a Texinfo manual.
38 If the /usr/share/doc/gnutls/ directory does not contain the HTML form
39 visit
40
41 https://www.gnutls.org/manual/
42
43gnutls 3.7.2 gnutls_global_set_log_function(3)