libsigrok  0.5.2
sigrok hardware access and backend library
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Functions
log.c File Reference

Controlling the libsigrok message logging functionality. More...

#include <config.h>
#include <stdarg.h>
#include <stdio.h>
#include <glib/gprintf.h>
#include <libsigrok/libsigrok.h>
#include "libsigrok-internal.h"
+ Include dependency graph for log.c:

Go to the source code of this file.

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_callback_set (sr_log_callback 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...
 
int sr_log_callback_get (sr_log_callback *cb, void **cb_data)
 Get the libsigrok log callback routine and callback data. More...
 

Detailed Description

Controlling the libsigrok message logging functionality.

Definition in file log.c.