pub unsafe extern "C" fn indy_set_logger(
context: *const c_void,
enabled_cb: indyLoggerEnabledCb,
log_cb: indyLoggerLogCb,
flush_cb: indyLoggerFlushCb,
) -> indy_error_tExpand description
Set custom logger implementation.
Allows library user to provide custom logger implementation as set of handlers.
#Params context: pointer to some logger context that will be available in logger handlers. enabled: (optional) “enabled” operation handler - calls to determines if a log record would be logged. (false positive if not specified) log: “log” operation handler - calls to logs a record. flush: (optional) “flush” operation handler - calls to flushes buffered records (in case of crash or signal).
#Returns Error code