function::log.3stap

Langue: en

Version: September 2010 (ubuntu - 24/10/10)

Section: 3 (Bibliothèques de fonctions)

NAME

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

SYNOPSIS

     log(msg:string)
 

ARGUMENTS

msg

The formatted message string.

GENERAL SYNTAX

log(msg:string)

DESCRIPTION

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