Prune log file to specified number of bytes (from the end)
Usage
$int = $fileLog->pruneBytes(int $bytes);
Arguments
Name | Type(s) | Description |
---|---|---|
bytes | int |
Return value
int
bool
positive integer on success, 0 if no prune necessary, or boolean false on failure.
FileLog methods and properties
API reference based on ProcessWire core version 3.0.236