dmmp_context_log_func_set(3) - man - phpMan

 


dmmp_context_log_func_set(3)Device Mapper Multipath API - libdmmp Manualdmmp_context_log_func_set(3)



NAME
       dmmp_context_log_func_set - Set log handler function.

SYNOPSIS
       void  dmmp_context_log_func_set (struct dmmp_context *ctx, void (*log_func) (struct dmmp_con‐‐
       text *ctx, int priority, const char *file, int line, const char *func_name, const char  *for‐‐
       mat, va_list args));

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

       log_func    Pointer of log handler function. If set to NULL, all log will be ignored.

DESCRIPTION
       Set custom log handler. The log handler will be invoked when log message is equal or more im‐
       portant(less  value) than log priority setting.  Please check manpage libdmmp.h(3) for detail
       usage.

RETURN
       void



March 2018                            dmmp_context_log_func_set         dmmp_context_log_func_set(3)

Generated by phpMan Author: Che Dong Under GNU General Public License - MarkDown | JSON | MCP
2026-05-29 22:11 @216.73.216.79 CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Valid XHTML 1.0 TransitionalValid CSS!