1FUNCTION::LOG(3stap)            Logging Tapset            FUNCTION::LOG(3stap)
2
3
4

NAME

6       function::log - Send a line to the common trace buffer
7

SYNOPSIS

9           log(msg:string)
10

ARGUMENTS

12       msg
13           The formatted message string
14

DESCRIPTION

16       This function logs data. log sends the message immediately to staprun
17       and to the bulk transport (relayfs) if it is being used. If the last
18       character given is not a newline, then one is added. This function is
19       not as efficient as printf and should be used only for urgent messages.
20

SEE ALSO

22       tapset::logging(3stap)
23
24
25
26SystemTap Tapset Reference       October 2018             FUNCTION::LOG(3stap)
Impressum