PHP 8.1.0 RC 2 available for testing

SeasLog::setBasePath

(PECL seaslog >=1.0.0)

SeasLog::setBasePathSet SeasLog base path

Description

public static SeasLog::setBasePath(string $base_path): bool

Set SeasLog base path.

Parameters

base_path

String.

Return Values

Return TRUE on setted base path success, FALSE on failure.

Examples

Example #1 SeasLog::setBasePath() example

<?php

/* ... */

?>

The above example will output something similar to:

...
add a note add a note

User Contributed Notes

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