libnetconf2  4.7.5
NETCONF server and client library in C.
log.h
Go to the documentation of this file.
1 
17 #ifndef NC_LOG_H_
18 #define NC_LOG_H_
19 
20 struct nc_session;
21 
22 #ifdef __cplusplus
23 extern "C" {
24 #endif
25 
34 typedef enum NC_VERB_LEVEL {
41 
53 
54 #ifdef NC_SSH
55 
72 
73 #endif /* NC_SSH */
74 
83 void nc_set_print_clb_session(void (*clb)(const struct nc_session *, NC_VERB_LEVEL, const char *));
84 
87 #ifdef __cplusplus
88 }
89 #endif
90 
91 #endif /* NC_LOG_H_ */
void nc_libssh_thread_verbosity(int level)
Set libssh verbosity level.
NC_VERB_LEVEL
Verbosity levels.
Definition: log.h:34
void nc_set_print_clb_session(void(*clb)(const struct nc_session *, NC_VERB_LEVEL, const char *))
Set libnetconf print callback.
void nc_verbosity(NC_VERB_LEVEL level)
Set libnetconf's verbosity level.
@ NC_VERB_DEBUG
Definition: log.h:38
@ NC_VERB_DEBUG_LOWLVL
Definition: log.h:39
@ NC_VERB_WARNING
Definition: log.h:36
@ NC_VERB_ERROR
Definition: log.h:35
@ NC_VERB_VERBOSE
Definition: log.h:37