SeasLog::setBasePath()
(PECL seaslog >=1.0.0)
设置 SeasLog 根目录
说明
public static SeasLog::setBasePath(string $base_path): bool
设置 SeasLog 根目录。
参数
- $base_path
String.
返回值
设置根目录成功返回 TRUE,失败返回 FALSE。
范例
Example #1 SeasLog::setBasePath() example
<?php /* ... */ ?>
以上例程的输出类似于:
...