File: rtapi_set_msg_level.3rtapi

package info (click to toggle)
linuxcnc 1%3A2.9.7-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 285,604 kB
  • sloc: python: 202,568; ansic: 109,036; cpp: 99,239; tcl: 16,054; xml: 10,631; sh: 10,303; makefile: 1,255; javascript: 138; sql: 72; asm: 15
file content (36 lines) | stat: -rw-r--r-- 881 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
.TH rtapi_set_msg_level "3rtapi" "2006-10-12" "LinuxCNC Documentation" "RTAPI"
.SH NAME

rtapi_get_msg_level, rtapi_set_msg_level \- Get or set the logging level

.SH SYNTAX
.HP
 int rtapi_set_msg_level(int \fIlevel\fR)

.HP
 int rtapi_get_msg_level()

.SH  ARGUMENTS
.IP \fIlevel\fR
The desired logging level

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

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

.SH RETURN VALUE
\fBrtapi_set_msg_level\fR returns a status code, and \fBrtapi_get_msg_level\fR
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

.SH SEE ALSO
\fBrtapi_print_msg(3rtapi)\fR