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

Controlling the libsigrokdecode message logging functionality. More...

#include <config.h>
#include "libsigrokdecode-internal.h"
#include "libsigrokdecode.h"
#include <stdarg.h>
#include <stdio.h>
#include <glib/gprintf.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_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.