![]() |
libsigrok
0.2.0
sigrok hardware access and backend library
|
Controlling the libsigrok message logging functionality. More...
Include dependency graph for log.c:Go to the source code of this file.
Macros | |
| #define | LOGDOMAIN_MAXLEN 30 |
| #define | LOGDOMAIN_DEFAULT "sr: " |
Functions | |
| int | sr_log_loglevel_set (int loglevel) |
| Set the libsigrok loglevel. More... | |
| int | sr_log_loglevel_get (void) |
| Get the libsigrok loglevel. More... | |
| int | sr_log_logdomain_set (const char *logdomain) |
| Set the libsigrok logdomain string. More... | |
| char * | sr_log_logdomain_get (void) |
| Get the currently configured libsigrok logdomain. More... | |
| int | sr_log_callback_set (sr_log_callback_t cb, void *cb_data) |
| Set the libsigrok log callback to the specified function. More... | |
| int | sr_log_callback_set_default (void) |
| Set the libsigrok log callback to the default built-in one. More... | |
Controlling the libsigrok message logging functionality.
Definition in file log.c.
| #define LOGDOMAIN_DEFAULT "sr: " |
| #define LOGDOMAIN_MAXLEN 30 |
Referenced by sr_log_logdomain_set().
1.8.3.1