libnvme_get_logging_level(9) libnvme API manual libnvme_get_logging_level(9)

libnvme_get_logging_level - Get current logging level

int libnvme_get_logging_level (struct libnvme_global_ctx *ctx , bool *log_pid , bool *log_tstamp );

struct libnvme_global_ctx object
Pointer to store a current value of logging of the PID flag at (optional).
Pointer to store a current value of logging of the timestamp flag at (optional).

Retrieves current values of logging variables.

current log level value or LIBNVME_DEFAULT_LOGLEVEL if not initialized.

libnvme_get_logging_level September 2026