FileLog::pruneBytes()

Prune log file to specified number of bytes (from the end)

Usage

$int = $fileLog->pruneBytes(int $bytes);

Arguments

NameType(s)Description
$bytesint

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.251