commands

commands — gives a list of all available commands.

Syntax

(commands)
    

Arguments

none

Returns

On success, a list of command names. Otherwise, one of the following error messages:

(error "textlog: Too many arguments to commands: # < #")
(error "textlog: Invalid command: commands")

or, if none of the above errors apply, nil.

Description

This command lists the commands available in the Cascade TextLogger.

Example

logger> (commands)
(add cache collect commands disable empty
    enable exit fall file flush group log output
    remove time timestamp tolerance usegmt version)
logger>