PHP 7.3.14 Released


(PECL seaslog >=1.0.0)

SeasLog::getBasePathGet SeasLog base path.


public static Seaslog::getBasePath ( void ) : 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.

Liste de paramètres

Cette fonction ne contient aucun paramètre.

Valeurs de retour

Return seaslog.default_basepath as string.


Exemple #1 SeasLog::getBasePath() example




L'exemple ci-dessus va afficher quelque chose de similaire à :

string(12) "/var/log/www"
add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top