[][src]Function opensc_sys::sc_ctx_log_to_file

pub unsafe extern "C" fn sc_ctx_log_to_file(
    ctx: *mut sc_context_t,
    filename: *const c_char
) -> c_int

Redirects OpenSC debug log to the specified file @param ctx existing OpenSC context @param filename path to the file or "stderr" or "stdout" @return SC_SUCCESS on success and an error code otherwise