Function silc_log_set_file
SYNOPSIS
SilcBool silc_log_set_file(SilcLogType type, char *filename,
SilcUInt32 maxsize,
SilcSchedule scheduler);
DESCRIPTION
Sets `filename', which can be maximum `maxsize' bytes long, as the new
logging file for the channel `type'. If you specify an illegal filename
a warning message is printed and FALSE is returned. In this case
logging settings are not changed.
You can disable logging for a channel by specifying NULL filename, the
maxsize in this case is not important. The `scheduler' parameter is
needed by the internal logging to allow buffered output and thus to
save HD activity.
|