SeasLog::getBasePath
PHP function
Edit on GitHub ✎
(PECL seaslog >=1.0.0)
Get SeasLog base path.
Description
Seaslog::getBasePath(): string
Use the Function SeasLog::getBasePath will get the value of seaslog.default_basepath what configured in php.ini(seaslog.ini).
If you use Seaslog::setBasePath, will change the result.
Parameters Parameters
Return Values
Return seaslog.default_basepath as string.
Examples
SeasLog::getBasePath example
php
<?php
var_dump(SeasLog::getBasePath());
?>The above example will output something similar to:
output
string(12) "/var/log/www"