logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

dmmp_context_log_priority_set - Set log priority.

Arguments

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

       priority    int, log priority.

Description

       When library generates log message, only equal or more important(less value) message will be forwarded to
       log handler function. 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

Name

       dmmp_context_log_priority_set - Set log priority.

Return

       void

March 2018                                dmmp_context_log_priority_set         dmmp_context_log_priority_set(3)

Synopsis

voiddmmp_context_log_priority_set(structdmmp_context*ctx,intpriority);

See Also