Function ocsd_def_errlog_init

Source
pub unsafe extern "C" fn ocsd_def_errlog_init(
    verbosity: ocsd_err_severity_t,
    create_output_logger: c_int,
) -> ocsd_err_t
Expand description

Initialise the library error logger.

Choose severity of errors logger, and if the errors will be logged to screen and / or logfile.

@param verbosity : Severity of errors that will be logged. @param create_output_logger : Set to none-zero to create an output printer.

@return ocsd_err_t : Library error code - RCDTL_OK if successful.