log

“log” writes a command to the log file (if one is open).

See Also

log_open | log_close | cmd.log | commands