log $datatype(expr) | $function(args) | $variable | "string", ...
Record a message in the log file and send it to control clients.
argument
$datatype(expression)
datatype
is the name of a datatype,
and expression
is an expression of that
type.
$function(args)
function
is the name of any function
and args
are its arguments.
$variable
variable
is the name of a scalar variable.
If this is an aggregate type then it must be followed
by a valid field selection expression that refers
to a scalar member of the aggregate, or that of a
sub-aggregate.
"string"
"string"
is an ASCII string,
optionally containing C-style escape sequences.
log "Stopping the observations to perform receiver maintenance."
log
command is used to record messages in the
log, prefixed with the string "LOG:". If a log file is
open then the messages will be recorded there. They are also sent
to be displayed in the log window of any connected cbiviewer
programs.
Note that unlike the similar print
command, the log
behaves the same regardless of
whether it is used interactively or in a script.
Formatting function | Description |
---|---|
$format_double() |
Format a Double value |