Skip to main content

nvme_init_default_logging

Function nvme_init_default_logging 

Source
pub unsafe extern "C" fn nvme_init_default_logging(
    fp: *mut FILE,
    lvl: c_int,
    log_pid: bool,
    log_tstamp: bool,
)
Expand description

nvme_init_default_logging() - Initialize default (fallback) logging @fp: File descriptor for logging messages @lvl: Logging level to set @log_pid: Boolean to enable logging of the PID @log_tstamp: Boolean to enable logging of the timestamp

Sets the default logging settings for the library in case the root object is absent.