$log.file

Returns the current log filename
Syntax

$log.file
$log.file(<window id>)

Description
The form with the <window id> parameter returns the log file name of the window that has the specified id. If logging is not enabled in the specified window, this function returns an empty string.
The form without parameters returns the log file name of the current window, thus it is equivalent to calling $log.file($window)
Examples

log mylogfilename.log
echo $log
echo $log($console)
See also
$window, log.start, log.stop, window naming conventions documentation

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