CakeFest 2024: The Official CakePHP Conference

SeasLog::getBasePath

(PECL seaslog >=1.0.0)

SeasLog::getBasePathGet SeasLog base path.

Açıklama

public static 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.

Bağımsız Değişkenler

Bu işlevin bağımsız değişkeni yoktur.

Dönen Değerler

Return seaslog.default_basepath as string.

Örnekler

Örnek 1 SeasLog::getBasePath() example

<?php

var_dump
(SeasLog::getBasePath());

?>

Yukarıdaki örnek şuna benzer bir çıktı üretir:

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

User Contributed Notes

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