rpma_log_get_threshold(3) RPMA Programmer's Manual rpma_log_get_threshold(3)

rpma_log_get_threshold - get the logging threshold level

      #include <librpma.h>
      int rpma_log_get_threshold(enum rpma_log_threshold threshold, enum rpma_log_level *level);

rpma_log_get_threshold() gets the current level of the threshold. See rpma_log_set_threshold(3) for available thresholds and levels.

rpma_log_get_threshold() function returns 0 on success or a negative error code on failure.

rpma_log_get_threshold() can fail with the following errors:

rpma_log_set_function(3), rpma_log_set_threshold(3), librpma(7) and https://pmem.io/rpma/

29 October 2024 RPMA