libsigrokdecode  0.3.1
sigrok protocol decoding library
Functions
log.c File Reference

Controlling the libsigrokdecode message logging functionality. More...

#include "libsigrokdecode.h"
#include "libsigrokdecode-internal.h"
#include <stdarg.h>
#include <stdio.h>
+ Include dependency graph for log.c:

Go to the source code of this file.

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 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...
 

Detailed Description

Controlling the libsigrokdecode message logging functionality.

Definition in file log.c.