![]() |
libsigrokdecode
0.2.0
sigrok protocol decoding library
|
Controlling the libsigrokdecode message logging functionality. More...
#include "libsigrokdecode.h"
#include "libsigrokdecode-internal.h"
#include <stdarg.h>
#include <stdio.h>
Go to the source code of this file.
Macros | |
#define | LOGDOMAIN_MAXLEN 30 |
#define | LOGDOMAIN_DEFAULT "srd: " |
Functions | |
int | srd_log_loglevel_set (int loglevel) |
Set the libsigrokdecode loglevel. More... | |
int | srd_log_loglevel_get (void) |
Get the libsigrokdecode loglevel. More... | |
int | srd_log_logdomain_set (const char *logdomain) |
Set the libsigrokdecode logdomain string. More... | |
char * | srd_log_logdomain_get (void) |
Get the currently configured libsigrokdecode logdomain. More... | |
int | srd_log_callback_set (srd_log_callback_t cb, void *cb_data) |
Set the libsigrokdecode log callback to the specified function. More... | |
int | srd_log_callback_set_default (void) |
Set the libsigrokdecode log callback to the default built-in one. More... | |
Controlling the libsigrokdecode message logging functionality.
Definition in file log.c.
#define LOGDOMAIN_DEFAULT "srd: " |
#define LOGDOMAIN_MAXLEN 30 |
Referenced by srd_log_logdomain_set().