log.start

Starts logging in a specified window
Syntax

log.start [-w = <window_id>] [-p] [filename]

The log module is an interface to the KVIrc logging subsystem.
It provides commands and functions that allow the management of logging in the KVIrc windows:
log.start, log.stop, log.flush, $log.file().
NOTE:
If you want to AUTOENABLE logging in certain types of windows you have to use the option command.
For example, option boolAutoLogQueries 1 enables logging in all the newly created query windows.
Description
Starts logging in the current window or in the window specified by the -w switch.
If a logging session is already running in the specified window, it is stopped first.
If [filename] is specified, this filename is used as log file, otherwise a default filename is used.
If the -p switch is used, all the already existing contents of the window are stored to the log file before starting the log action.
Please note that some windows do not have logging capabilities...this command will print a warning in that case.
See also
$window, log.stop, $log.file, window naming conventions documentation

Main index, Command index
KVirc 3.0.0 documentation
Generated by diego at Sat Jul 13 15:37:55 2002