cache

cache -- Controls how frequently data is written.

Syntax

(cache y|n label [label ...])
    

Arguments

y|n

Sets caching on (y, which is the default) or off (n).

label

A log or group command label.

Description

The cache command lets you determine how frequently data is written. When caching is on (y, the default), data is written in blocks, according to your default C library file buffer implementation. When caching is off (n), each line of output is immediately flushed from the buffer to the file.

Note

If the Cascade TextLogger is started with the -F option, this command is ignored because there is no possibility of caching; all data is immediately flushed to the file.

See Also

log, textlog

Example

    (cache y temp press)
    (cache n max_ht min_ht)

Copyright 1995-2002 by Cogent Real-Time Systems, Inc.