SeasLog::getBasePath

(PECL seaslog >=1.0.0)

SeasLog::getBasePath锟斤拷锟� SeasLog 锟斤拷目录

说锟斤拷

public static Seaslog::getBasePath ( void ) : string

使锟矫猴拷锟斤拷 SeasLog::getBasePath() 锟斤拷锟皆伙拷锟斤拷锟� php.ini(seaslog.ini) 锟斤拷锟斤拷锟矫碉拷seaslog.default_basepath锟斤拷

锟斤拷锟绞癸拷煤锟斤拷锟� Seaslog::setBasePath()锟斤拷锟斤拷锟侥变函锟斤拷取值锟斤拷

锟斤拷锟斤拷

锟剿猴拷锟斤拷没锟叫诧拷锟斤拷锟斤拷

锟斤拷锟斤拷值

Return seaslog.default_basepath as string.

锟斤拷锟斤拷

Example #1 SeasLog::getBasePath() example

<?php

var_dump
(SeasLog::getBasePath());

?>

锟斤拷锟斤拷锟斤拷锟教碉拷锟斤拷锟斤拷锟斤拷锟斤拷冢锟�

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