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 effecient as printf and should be used only for urgent messages.
20
21
22
23SystemTap Tapset Reference        August 2011             FUNCTION::LOG(3stap)
Impressum