IRC Gateway
PHP Manual

ircg_set_file

(PHP 4 >= 4.2.0, PHP 5 <= 5.0.5)

ircg_set_file — Set logfile for connection

说明

bool ircg_set_file ( resource $connection , string $path )

ircg_set_file() specifies a logfile in which all output from the current connection will be logged.

参数

connection

A connection resource handle returned by ircg_pconnect().

path

Path to the logfile.

返回值

如果成功则返回 TRUE,失败则返回 FALSE


IRC Gateway
PHP Manual