openlog - 语法
bool openlog ( string $ident , int $option , int $facility )
它用于打开与系统记录器的连接
| Sr.No | 参数 & Description |
|---|---|
| 1 |
ident 添加到每条消息的字符串ident |
| 2 |
ident 添加到每条消息的字符串ident |
| 3 |
options 它用于指示系统记录器使用的options |
| 4 |
facility 它用于指定记录消息的程序类型 |
openlog - 返回值
成功时返回TRUE值,失败时返回FALSE值。