Skip to content
This repository has been archived by the owner on Oct 5, 2023. It is now read-only.

Latest commit

 

History

History
59 lines (39 loc) · 1.43 KB

cmd_clog.wiki

File metadata and controls

59 lines (39 loc) · 1.43 KB

  1. summary clog command documentation

Table of Contents

clog

Record all user-interface input and output to a file.

Synopsis

Options

|| `filename` || Open filename and begin logging. || || `-c, --close, -o, --off, -d, --disable` || Stop logging, close the file. || || `-a, --add string` || Add the given string to the open log file. || || `-q, --query` || Returns open if logging is active or closed if logging is not active. || || `-A, --append, -e, --existing` || Opens existing log file named `filename` and logging is added at the end of the file. ||

Description

The `clog` command allows users to save all user-interface input and output to a file. When Soar is logging to a file, everything typed by the user and everything printed by Soar is written to the file (in addition to the screen).

Invoke `clog` with no arguments (or with `-q`) to query the current logging status. Pass a filename to start logging to that file (relative to the command line interface's home directory). Use the `close` option to stop logging.

Examples

To initiate logging and place the record in foo.log:

To append log data to an existing foo.log file:

To terminate logging and close the open log file:

Known Issues

Does not log everything when structured output is selected.

See also

[cmd_command_to_file]