SeasLog::getBasePath

(PECL seaslog >=1.0.0)

SeasLog::getBasePathGet SeasLog base path.

Descrierea

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.

Parametri

Această funcție nu are parametri.

Valorile întoarse

Return seaslog.default_basepath as string.

Exemple

Example #1 SeasLog::getBasePath() example

<?php

var_dump
(SeasLog::getBasePath());

?>

Exemplul de mai sus va afișa ceva similar cu:

string(12) "/var/log/www"