FileLog::save()
Save the given log entry string
Usage
// basic usage
$bool = $fileLog->save(string $str);
// usage with all arguments
$bool = $fileLog->save(string $str, array $options = []);Arguments
| Name | Type(s) | Description |
|---|---|---|
$str | string | |
$options (optional) | array | options to modify behavior (Added 3.0.143
|
Return value
boolSuccess state: true if log written, false if not.
FileLog methods and properties
API reference based on ProcessWire core version 3.0.253