libnetconf2
1.1.48
NETCONF library for clients and servers
Main Page
Related Pages
Modules
Data Structures
Files
File List
Globals
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Groups
Pages
log.h
Go to the documentation of this file.
1
15
#ifndef NC_LOG_H_
16
#define NC_LOG_H_
17
18
#ifdef __cplusplus
19
extern
"C"
{
20
#endif
21
30
typedef
enum
NC_VERB_LEVEL
{
31
NC_VERB_ERROR
= 0,
32
NC_VERB_WARNING
= 1,
33
NC_VERB_VERBOSE
= 2,
34
NC_VERB_DEBUG
= 3,
35
NC_VERB_DEBUG_LOWLVL
= 4,
36
}
NC_VERB_LEVEL
;
37
48
void
nc_verbosity
(
NC_VERB_LEVEL
level);
49
50
#ifdef NC_ENABLED_SSH
51
67
void
nc_libssh_thread_verbosity
(
int
level);
68
69
#endif
70
79
void
nc_set_print_clb
(
void
(*clb)(
NC_VERB_LEVEL
,
const
char
*));
80
83
#ifdef __cplusplus
84
}
85
#endif
86
87
#endif
/* NC_LOG_H_ */
NC_VERB_LEVEL
NC_VERB_LEVEL
Verbosity levels.
Definition:
log.h:30
nc_verbosity
void nc_verbosity(NC_VERB_LEVEL level)
Set libnetconf's verbosity level.
NC_VERB_VERBOSE
Definition:
log.h:33
nc_libssh_thread_verbosity
void nc_libssh_thread_verbosity(int level)
Set libssh verbosity level.
nc_set_print_clb
void nc_set_print_clb(void(*clb)(NC_VERB_LEVEL, const char *))
Set libnetconf's print callback.
NC_VERB_ERROR
Definition:
log.h:31
NC_VERB_DEBUG_LOWLVL
Definition:
log.h:35
NC_VERB_DEBUG
Definition:
log.h:34
NC_VERB_WARNING
Definition:
log.h:32
src
log.h
Generated on Sun Dec 22 2024 09:21:05 for libnetconf2 by
1.8.5