mm_sync_debug_set()

Set the logging verbosity and debugging levels.

Synopsis:

#include <mmsync/mmsyncclient.h>
int mm_sync_debug_set( mmsync_hdl_t *hdl, 
                       uint8_t verbose, 
                       uint8_t debug )

Arguments:

hdl

The mm-sync connection handle

verbose

The new verbosity setting to use

debug

The new debug setting to use

Library:

mmsyncclient

Description:

Set the logging verbosity and debugging levels. Each of these settings can be between 0 (to turn off the feature) and 10 (the maximum allowed setting, as defined by MMSYNC_MAX_VERBOSE and MMSYNC_MAX_DEBUG). Values higher than 10 cause the function to fail.

Returns:

0 on success, -1 on failure