mm_sync_debug_set()

Set the logging verbosity level and debugging flags

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 pointer.
verbose
The new verbosity level.
debug
The new debugging flags (as a bitfield of MMSYNC_DEBUG_* constants). This setting overrides the previous flags.

Library:

mmsyncclient

Description:

Set the logging verbosity level and debugging flags. These settings can be between 0 (to turn off the feature) and the maximum limits defined by MMSYNC_MAX_VERBOSE and MMSYNC_MAX_DEBUG. Values higher than these limits cause the function to fail.

Returns:

0 on success, -1 on failure.