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

rtapi_get_msg_level, rtapi_set_msg_level - Get or set the logging level

Arguments

level  The desired logging level

Description

       Get  or set the RTAPI message level used by rtapi_print_msg.  Depending on the RTOS, this level may apply
       to a single RTAPI module, or it may apply to a group of modules.

Name

       rtapi_get_msg_level, rtapi_set_msg_level - Get or set the logging level

Realtime Considerations

       May be called from non-realtime, init/cleanup, and realtime code.

Return Value

rtapi_set_msg_level  returns  a  status  code,  and  rtapi_get_msg_level  returns  the   current   level.
       RTAPI_MSG_NONE  =  0,  RTAPI_MSG_ERR  =  1,  RTAPI_MSG_WARN  =  2,  RTAPI_MSG_INFO = 3, RTAPI_MSG_DBG = 4
       RTAPI_MSG_ALL = 5

See Also

rtapi_print_msg(3rtapi)

LinuxCNC Documentation                             2006-10-12                        rtapi_set_msg_level(3rtapi)

Syntax


               int rtapi_set_msg_level(int level)

               int rtapi_get_msg_level()

See Also