ArvDebug

ArvDebug — Debugging tools

Synopsis

void                arv_debug                           (ArvDebugCategory *category,
                                                         const char *format,
                                                         ...);
gboolean            arv_debug_check                     (ArvDebugCategory *category,
                                                         ArvDebugLevel level);
void                arv_debug_enable                    (const char *category_selection);
void                arv_debug_shutdown                  (void);

Description

Details

arv_debug ()

void                arv_debug                           (ArvDebugCategory *category,
                                                         const char *format,
                                                         ...);

arv_debug_check ()

gboolean            arv_debug_check                     (ArvDebugCategory *category,
                                                         ArvDebugLevel level);

arv_debug_enable ()

void                arv_debug_enable                    (const char *category_selection);

Configures the debug output using a configuration string consisting of a comma separated list of debug categories or category/debug level pair. This function overwrites the configuration done by ARV_DEBUG environment variable. For example, enabling debug level 3 of the gvcp category and default debug level of category genicam is done using:

1
arv_debug_enable ("gvcp:3,genicam");

category_selection :

debug category configuration string

arv_debug_shutdown ()

void                arv_debug_shutdown                  (void);