flush_log_file

flush_log_file — writes buffered text of Script Log output to the file.

Synopsis

flush_log_file ()
    

Returns

t on success, otherwise an error message.

Description

This function causes any buffered text of Script Log output to be written to the log file. The log file is block-buffered, so text is held in memory until a full block is available to write or the file is flushed. The block size is operating-system dependent.

See also set_log_file and set_log_size.