# man > dmmp_context_log_priority_get(3)

dmmp_context_log_priority_ge**Devi**ce Mapper Multipath API - libdmmp Ma**dmmp**[_context_log_priority_get(3)](https://www.chedong.com/phpMan.php/man/contextlogpriorityget/3/markdown)



## NAME
       dmmp_context_log_priority_get - Get log priority.

## SYNOPSIS
       **int** **dmmp**___**context**___**log**___**priority**___**get** **(struct** **dmmp**___**context** *****_ctx_**);**

## ARGUMENTS
       ctx         Pointer  of 'struct dmmp_context'.  If this pointer is NULL, your program will be
                   terminated by assert.

## DESCRIPTION
       Retrieve current log priority. Valid log priority values are:

       * DMMP_LOG_PRIORITY_ERROR -- 3

       * DMMP_LOG_PRIORITY_WARNING -- 4

       * DMMP_LOG_PRIORITY_INFO -- 5

       * DMMP_LOG_PRIORITY_DEBUG -- 7

## RETURN
       int, log priority.



March 2018                          dmmp_context_log_priority_get   [dmmp_context_log_priority_get(3)](https://www.chedong.com/phpMan.php/man/dmmpcontextlogpriorityget/3/markdown)
