Prune log file to contain only entries newer than $oldestDate
Usage
$int = $fileLog->pruneDate($oldestDate);
Arguments
Name | Type(s) | Description |
---|---|---|
oldestDate | int, string |
Return value
int
Number of lines written
FileLog methods and properties
API reference based on ProcessWire core version 3.0.236