Get the full path to a log file.
public static getFilePath ( string $filename = 'elasticsearch-indexer' ) : string | ||
$filename | string | |
리턴 | string |
/** * @param int|null $blogId */ public function __construct($blogId = null) { $this->setBlog($blogId); return parent::__construct(['hosts' => Config::getHosts(), 'logging' => true, 'logPath' => Log::getFilePath('elasticsearch')]); }