略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: SeasLog::setBasePath

2024-05-18

SeasLog::setBasePath

(PECL seaslog >=1.0.0)

SeasLog::setBasePath设置 SeasLog 根目录

说明

public static SeasLog::setBasePath(string $base_path): bool

设置 SeasLog 根目录。

参数

base_path

String.

返回值

设置根目录成功返回 TRUE,失败返回 FALSE。

范例

示例 #1 SeasLog::setBasePath() example

<?php

/* ... */

?>

以上例程的输出类似于:

...
add a noteadd a note

User Contributed Notes

There are no user contributed notes for this page.

官方地址:https://www.php.net/manual/en/seaslog.setbasepath.php

北京半月雨文化科技有限公司.版权所有 京ICP备12026184号-3